pingcap/tidb

Wrong function comment for `UpdateGlobal`

Open

#61,311 创建于 2025年5月26日

在 GitHub 查看
 (4 评论) (0 反应) (1 负责人)Go (40,090 star) (6,186 fork)batch import
good first issueseverity/minorsig/sql-infratype/bug

描述

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.

贡献者指南

Wrong function comment for `UpdateGlobal` · pingcap/tidb#61311 | Good First Issue