DBZ-2586 Mark MariaDB extensions

This commit is contained in:
Jiri Pechanec 2020-09-30 09:03:51 +02:00 committed by Gunnar Morling
parent ac940711c7
commit 18a4262ceb
2 changed files with 4 additions and 4 deletions

View File

@ -1085,7 +1085,7 @@ UPPER: 'UPPER';
UUID: 'UUID';
UUID_SHORT: 'UUID_SHORT';
VALIDATE_PASSWORD_STRENGTH: 'VALIDATE_PASSWORD_STRENGTH';
VIA: 'VIA';
VIA: 'VIA'; // MariaDB
VERSION: 'VERSION';
WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS: 'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS';
WEEKDAY: 'WEEKDAY';

View File

@ -1543,16 +1543,16 @@ userAuthOption
| userName
IDENTIFIED BY STRING_LITERAL #stringAuthOption
| userName
IDENTIFIED (WITH | VIA)
IDENTIFIED (WITH | VIA) // VIA and OR are MariaDB only
authenticationRule (OR authenticationRule)* #moduleAuthOption
| userName #simpleAuthOption
;
authenticationRule
: authPlugin
((USING | AS) STRING_LITERAL)? #onlyModule
((USING | AS) STRING_LITERAL)? #module
| authPlugin
(USING | AS) passwordFunctionClause #passwordModuleOption
(USING | AS) passwordFunctionClause #passwordModuleOption // MariaDB
;
tlsOption