Skip to content

Commit

Permalink
sqlparser: FORCE_CUTOVER is a non-reserved keyword (#14885)
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach authored Jan 4, 2024
1 parent 98639a7 commit 9a98739
Show file tree
Hide file tree
Showing 3 changed files with 5,916 additions and 5,983 deletions.
4 changes: 4 additions & 0 deletions go/vt/sqlparser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2465,6 +2465,10 @@ var (
}, {
input: "show foobar like select * from table where syntax is 'ignored'",
output: "show foobar",
}, {
// Making sure "force_cutover" is not a keyword
input: "select force_cutover from t",
output: "select `force_cutover` from t",
}, {
input: "use db",
output: "use db",
Expand Down
Loading

0 comments on commit 9a98739

Please sign in to comment.