Skip to content

Commit

Permalink
[release-15.0] Remove indentation limit in the sqlparser (#13158) (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
frouioui authored Jun 12, 2023
1 parent 0bad292 commit 4779d78
Show file tree
Hide file tree
Showing 4 changed files with 1,401 additions and 1,447 deletions.
12 changes: 1 addition & 11 deletions go/vt/sqlparser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5419,17 +5419,7 @@ var (
"(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(" +
"F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F" +
"(F(F(F(F(F(F(F(F(F(F(F(F(",
output: "max nesting level reached at position 406",
}, {
input: "select(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F" +
"(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(" +
"F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F" +
"(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(" +
"F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F" +
"(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(" +
"F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F(F" +
"(F(F(F(F(F(F(F(F(F(F(F(",
output: "syntax error at position 404",
output: "syntax error at position 406",
}, {
// This construct is considered invalid due to a grammar conflict.
input: "insert into a select * from b join c on duplicate key update d=e",
Expand Down
Loading

0 comments on commit 4779d78

Please sign in to comment.