Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mysql/MySqlLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -1128,14 +1128,14 @@ STRING_USER_NAME: (
);
LOCAL_ID: '@'
(
[a-zA-Z0-9._$]+
[A-Z0-9._$]+
| SQUOTA_STRING
| DQUOTA_STRING
| BQUOTA_STRING
);
GLOBAL_ID: '@' '@'
(
[a-zA-Z0-9._$]+
[A-Z0-9._$]+
| BQUOTA_STRING
);

Expand Down Expand Up @@ -1165,4 +1165,4 @@ fragment BIT_STRING_L: 'B' '\'' [01]+ '\'';

// Last tokens must generate Errors

ERROR_RECONGNIGION: . -> channel(ERRORCHANNEL);
ERROR_RECONGNIGION: . -> channel(ERRORCHANNEL);
4 changes: 1 addition & 3 deletions mysql/examples/dml_select.sql
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ select 'abc' ' bcd' ' \' \' ' as col, \N c2, -.1e-3;

#begin
-- -- Variables
SET @varNum= 1;
SET @varstring='foo', @varString2='bar', @VARSTRING3='baz';
SELECT @myvar, @varNum;
SELECT @myvar;
#end

#begin
Expand Down