pingcap/tidb

Wrong function comment for `UpdateGlobal`

Open

#61.311 geöffnet am 26. Mai 2025

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Go (40.090 Stars) (6.186 Forks)batch import
good first issueseverity/minorsig/sql-infratype/bug

Beschreibung

Bug Report

https://github.com/pingcap/tidb/blob/1c6c5ad2acd6d5d2d4eee9b80032181a8f936a65/pkg/config/config.go#L1396-L1402

There's no "restore function" returned by UpdateGlobal. The comment should be updated, or code should be aligned with comment.

Contributor Guide