Skip to content

Commit 878f24d

Browse files
committed
chore: remove sqlmode, set type
1 parent addcea9 commit 878f24d

8 files changed

+7649
-7910
lines changed

Diff for: MySQLLexer.g4

+44-44
Large diffs are not rendered by default.

Diff for: MySQLLexer.interp

+3-3
Large diffs are not rendered by default.

Diff for: MySQLLexer.tokens

+2
Original file line numberDiff line numberDiff line change
@@ -842,3 +842,5 @@ NOT_EQUAL2_OPERATOR=806
842842
'@@'=785
843843
'\\N'=786
844844
'?'=787
845+
'/*!'=801
846+
'*/'=802

Diff for: MySQLParser.g4

+2-2
Original file line numberDiff line numberDiff line change
@@ -3821,7 +3821,7 @@ windowName:
38213821
// Identifiers excluding keywords (except if they are quoted). IDENT_sys in sql_yacc.yy.
38223822
pureIdentifier:
38233823
(IDENTIFIER | BACK_TICK_QUOTED_ID)
3824-
| {isSqlModeActive(AnsiQuotes)}? DOUBLE_QUOTED_TEXT
3824+
| DOUBLE_QUOTED_TEXT
38253825
;
38263826

38273827
// Identifiers including a certain set of keywords, which are allowed also if not quoted.
@@ -3908,7 +3908,7 @@ stringList:
39083908
// TEXT_STRING_validated in sql_yacc.yy.
39093909
textStringLiteral:
39103910
value = SINGLE_QUOTED_TEXT
3911-
| {!isSqlModeActive(AnsiQuotes)}? value = DOUBLE_QUOTED_TEXT
3911+
| value = DOUBLE_QUOTED_TEXT
39123912
;
39133913

39143914
textString:

Diff for: MySQLParser.interp

+3-3
Large diffs are not rendered by default.

Diff for: MySQLParser.tokens

+2
Original file line numberDiff line numberDiff line change
@@ -842,3 +842,5 @@ NOT_EQUAL2_OPERATOR=806
842842
'@@'=785
843843
'\\N'=786
844844
'?'=787
845+
'/*!'=801
846+
'*/'=802

Diff for: mysql_lexer.go

+5,624-6,254
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: mysql_parser.go

+1,969-1,604
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)