pingcap/tidb

Wrong function comment for `UpdateGlobal`

Open

#61.311 aperta il 26 mag 2025

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)Go (6186 fork)batch import
good first issueseverity/minorsig/sql-infratype/bug

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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.

Guida contributor