DBZ-7693 Add support for NATIONAL CHAR
to MariaDB grammar
This commit is contained in:
parent
421ecc9c9a
commit
c20c91111d
@ -2263,7 +2263,7 @@ dataType
|
||||
| NVARCHAR
|
||||
| LONG
|
||||
) VARYING? lengthOneDimension? BINARY? (charSet charsetName)? (COLLATE collationName | BINARY)? # stringDataType
|
||||
| NATIONAL typeName = (VARCHAR | CHARACTER) lengthOneDimension? BINARY? # nationalStringDataType
|
||||
| NATIONAL typeName = (VARCHAR | CHARACTER | CHAR) lengthOneDimension? BINARY? # nationalStringDataType
|
||||
| NCHAR typeName = VARCHAR lengthOneDimension? BINARY? # nationalStringDataType
|
||||
| NATIONAL typeName = (CHAR | CHARACTER) VARYING lengthOneDimension? BINARY? # nationalVaryingStringDataType
|
||||
| typeName = (
|
||||
|
@ -19,6 +19,7 @@ CREATE USER 'jim' @localhost IDENTIFIED BY '123';
|
||||
create table new_t (like t1);
|
||||
create table log_table(row varchar(512));
|
||||
create table log_table(row character(512));
|
||||
create table new_t (c national char);
|
||||
create table ships(name varchar(255), class_id int, id int);
|
||||
create table ships_guns(guns_id int, ship_id int);
|
||||
create table guns(id int, power decimal(7,2), callibr decimal(10,3));
|
||||
|
Loading…
Reference in New Issue
Block a user