Skip to content

Commit

Permalink
merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Nov 26, 2024
2 parents 8a9c469 + 88972ec commit 1737839
Show file tree
Hide file tree
Showing 4 changed files with 10,982 additions and 11,058 deletions.
2 changes: 2 additions & 0 deletions go/vt/sqlparser/keywords.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ var keywords = map[string]int{
"condition": CONDITION,
"connection": CONNECTION,
"connection_admin": CONNECTION_ADMIN,
"consistent": CONSISTENT,
"constraint": CONSTRAINT,
"constraint_catalog": CONSTRAINT_CATALOG,
"constraint_name": CONSTRAINT_NAME,
Expand Down Expand Up @@ -564,6 +565,7 @@ var keywords = map[string]int{
"slave": SLAVE,
"slow": SLOW,
"smallint": SMALLINT,
"snapshot": SNAPSHOT,
"source": SOURCE,
"source_auto_position": SOURCE_AUTO_POSITION,
"source_connect_retry": SOURCE_CONNECT_RETRY,
Expand Down
3 changes: 3 additions & 0 deletions go/vt/sqlparser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2791,6 +2791,9 @@ var (
}, {
input: "start transaction read write",
output: "start transaction read write",
}, {
input: "start transaction with consistent snapshot",
output: "start transaction",
}, {
input: "commit",
}, {
Expand Down
Loading

0 comments on commit 1737839

Please sign in to comment.