Skip to content

Commit

Permalink
add the variable to removed list
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Jul 14, 2022
1 parent d3d01a0 commit a69ed68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sessionctx/variable/removed.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const (
placementChecks = "placement_checks"
tiDBEnableStreaming = "tidb_enable_streaming"
tiDBOptBCJ = "tidb_opt_broadcast_join"
tidbEnableChangeMultiSchema = "tidb_enable_change_multi_schema"
)

var removedSysVars = map[string]string{
Expand All @@ -49,6 +50,7 @@ var removedSysVars = map[string]string{
tiDBMemQuotaIndexLookupJoin: "use tidb_mem_quota_query instead",
tiDBEnableStreaming: "streaming is no longer supported",
tiDBOptBCJ: "tidb_opt_broadcast_join is removed and use tidb_allow_mpp instead",
tidbEnableChangeMultiSchema: "alter multiple schema objects in a table is now always enabled",
}

// IsRemovedSysVar returns true if the sysvar has been removed
Expand Down

0 comments on commit a69ed68

Please sign in to comment.