Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
123108: sql: remove stale distsql session var hints r=yuzefovich a=yuzefovich

`2.0-auto` and `2.0-off` were removed long time ago.

Epic: None

Release note: None

Co-authored-by: Yahor Yuzefovich <[email protected]>
  • Loading branch information
craig[bot] and yuzefovich committed May 1, 2024
2 parents 6286301 + e5994a3 commit e572349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ var varGen = map[string]sessionVar{
Set: func(_ context.Context, m sessionDataMutator, s string) error {
mode, ok := sessiondatapb.DistSQLExecModeFromString(s)
if !ok {
return newVarValueError(`distsql`, s, "on", "off", "auto", "always", "2.0-auto", "2.0-off")
return newVarValueError(`distsql`, s, "on", "off", "auto", "always")
}
m.SetDistSQLMode(mode)
return nil
Expand Down

0 comments on commit e572349

Please sign in to comment.