We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 312bd6b commit 860ee29Copy full SHA for 860ee29
pkg/util/config/config.go
@@ -31,7 +31,8 @@ var ignoredSystemVariablesForPlanReplayerLoad = map[string]struct{}{
31
"innodb_lock_wait_timeout": {}, // It is unncessary to load this variable for plan replayer.
32
}
33
34
-// LoadConfig loads system variables from a toml reader. it is only for plan replayer and test.
+// LoadConfig loads system variables from a toml reader, excluding variables in the exclusion list.
35
+// It is only for plan replayer and test.
36
func LoadConfig(ctx sessionctx.Context, v io.ReadCloser) (unLoadVars []string, err error) {
37
varMap := make(map[string]string)
38
0 commit comments