Skip to content

Commit

Permalink
Update session.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhuang2016 authored May 19, 2021
1 parent 4abeb90 commit fd162af
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -2221,7 +2221,7 @@ var builtinGlobalVariable = []string{
variable.TiDBEnableRateLimitAction,
variable.TiDBMemoryUsageAlarmRatio,
variable.TiDBMultiStatementMode,
<<<<<<< HEAD
variable.TiDBDMLBatchSize,
}

var (
Expand All @@ -2237,13 +2237,6 @@ func initLoadCommonGlobalVarsSQL() {
}
loadCommonGlobalVarsSQL = "select HIGH_PRIORITY * from mysql.global_variables where variable_name in ('" + strings.Join(vars, quoteCommaQuote) + "')"
})
=======
variable.TiDBEnableExchangePartition,
variable.TiDBAllowFallbackToTiKV,
variable.TiDBEnableDynamicPrivileges,
variable.CTEMaxRecursionDepth,
variable.TiDBDMLBatchSize,
>>>>>>> 44830b917... session: fix dml_batch_size doesn't load the global variable (#24710)
}

// loadCommonGlobalVariablesIfNeeded loads and applies commonly used global variables for the session.
Expand Down

0 comments on commit fd162af

Please sign in to comment.