Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Commit

Permalink
Fix zeroturnaround#137, add @@ system variables
Browse files Browse the repository at this point in the history
  • Loading branch information
inferrinizzard committed Nov 17, 2021
1 parent c48e7de commit d3f7299
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/languages/MySqlFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ const reservedKeywords = [
'GET_MASTER_PUBLIC_KEY',
'GET_SOURCE_PUBLIC_KEY',
'GLOBAL',
'@@GLOBAL',
'GRANTS',
'GROUP',
'GROUPS',
Expand Down Expand Up @@ -815,7 +816,9 @@ const reservedKeywords = [
'PASSWORD_LOCK_TIME',
'PATH',
'PERSIST',
'@@PERSIST',
'PERSIST_ONLY',
'@@PERSIST_ONLY',
'PHASE',
'PLUGIN',
'PLUGINS',
Expand Down Expand Up @@ -917,6 +920,7 @@ const reservedKeywords = [
'SERIALIZABLE',
'SERVER',
'SESSION',
'@@SESSION',
'SHARE',
'SIGNAL',
'SIGNED',
Expand Down

0 comments on commit d3f7299

Please sign in to comment.