fix user variable和mysql不同

This commit is contained in:
qingzhu521 2024-08-21 12:45:43 +00:00 committed by ob-robot
parent 38896ca913
commit a98241c7ec

View File

@ -65,7 +65,7 @@ comment ({sql_comment})
start_identifier (([A-Za-z0-9$_]*[A-Za-z$_][A-Za-z0-9$_]*|{NOTASCII_GB_CHAR})+)
identifier (([A-Za-z0-9$_]|{NOTASCII_GB_CHAR})+)
system_variable (@@[A-Za-z_][A-Za-z0-9_]*)|(@@[`][`A-Za-z_][`A-Za-z_]*)
user_variable (@[A-Za-z0-9_\.$]*)|(@[`'\"][`'\"A-Za-z0-9_\.$/%]*)
user_variable (@([A-Za-z0-9_\.$]|{NOTASCII_GB_CHAR})*)|(@[`'\"]([`'\"A-Za-z0-9_\.$/%]|{NOTASCII_GB_CHAR})*)
version_num ([0-9]+\.+[0-9]*)
int_num [0-9]+
client_version \([0-9]+(\.[0-9]+)*\)