Skip to content

Commit 860ee29

Browse files
hawkingreiCopilot
andauthored
Update pkg/util/config/config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 312bd6b commit 860ee29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/util/config/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ var ignoredSystemVariablesForPlanReplayerLoad = map[string]struct{}{
3131
"innodb_lock_wait_timeout": {}, // It is unncessary to load this variable for plan replayer.
3232
}
3333

34-
// LoadConfig loads system variables from a toml reader. it is only for plan replayer and test.
34+
// LoadConfig loads system variables from a toml reader, excluding variables in the exclusion list.
35+
// It is only for plan replayer and test.
3536
func LoadConfig(ctx sessionctx.Context, v io.ReadCloser) (unLoadVars []string, err error) {
3637
varMap := make(map[string]string)
3738

0 commit comments

Comments
 (0)