Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
windtalker committed Jun 17, 2021
1 parent 1a3c192 commit a55e65d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -2506,6 +2506,7 @@ var builtinGlobalVariable = []string{
variable.TiDBOptBCJ,
variable.TiDBBCJThresholdSize,
variable.TiDBBCJThresholdCount,
variable.TiDBOptCartesianBCJ,
variable.TiDBRowFormatVersion,
variable.TiDBEnableStmtSummary,
variable.TiDBStmtSummaryInternalQuery,
Expand Down
2 changes: 2 additions & 0 deletions sessionctx/variable/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,8 @@ func (s *SessionVars) SetSystemVar(name string, val string) error {
s.BroadcastJoinThresholdSize = tidbOptInt64(val, DefBroadcastJoinThresholdSize)
case TiDBBCJThresholdCount:
s.BroadcastJoinThresholdCount = tidbOptInt64(val, DefBroadcastJoinThresholdCount)
case TiDBOptCartesianBCJ:
s.AllowCartesianBCJ = int(tidbOptInt64(val, DefOptCartesianBCJ))
case TiDBOptDistinctAggPushDown:
s.AllowDistinctAggPushDown = TiDBOptOn(val)
case TiDBOptWriteRowID:
Expand Down

0 comments on commit a55e65d

Please sign in to comment.