DBZ-4958 Annotate MariaDB-specific

This commit is contained in:
Chris Cranford 2022-05-23 13:55:43 -04:00 committed by Jiri Pechanec
parent fd7934598f
commit 62782bf806

View File

@ -193,18 +193,18 @@ createServer
;
createTable
: CREATE (OR REPLACE)? TEMPORARY? TABLE ifNotExists?
: CREATE (OR REPLACE)? TEMPORARY? TABLE ifNotExists? // OR is MariaDB-specific only
tableName
(
LIKE tableName
| '(' LIKE parenthesisTable=tableName ')'
) #copyCreateTable
| CREATE (OR REPLACE)? TEMPORARY? TABLE ifNotExists?
| CREATE (OR REPLACE)? TEMPORARY? TABLE ifNotExists? // OR is MariaDB-specific only
tableName createDefinitions?
( tableOption (','? tableOption)* )?
partitionDefinitions? keyViolate=(IGNORE | REPLACE)?
AS? selectStatement #queryCreateTable
| CREATE (OR REPLACE)? TEMPORARY? TABLE ifNotExists?
| CREATE (OR REPLACE)? TEMPORARY? TABLE ifNotExists? // OR is MariaDB-specific only
tableName createDefinitions
( tableOption (','? tableOption)* )?
partitionDefinitions? #columnCreateTable