You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
Also add support for collate in column definitions
This commit is contained in:
@@ -732,13 +732,25 @@ optional_braces:
|
|||||||
| '(' ')' {}
|
| '(' ')' {}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
opt_column_charset:
|
||||||
|
/* empty */ {}
|
||||||
|
|
|
||||||
|
IDB_CHAR SET ident {}
|
||||||
|
;
|
||||||
|
|
||||||
|
opt_column_collate:
|
||||||
|
/* empty */ {}
|
||||||
|
|
|
||||||
|
COLLATE ident {}
|
||||||
|
;
|
||||||
|
|
||||||
data_type:
|
data_type:
|
||||||
character_string_type
|
character_string_type opt_column_charset opt_column_collate
|
||||||
| binary_string_type
|
| binary_string_type
|
||||||
| numeric_type
|
| numeric_type
|
||||||
| datetime_type
|
| datetime_type
|
||||||
| blob_type
|
| blob_type
|
||||||
| text_type
|
| text_type opt_column_charset opt_column_collate
|
||||||
| IDB_BLOB
|
| IDB_BLOB
|
||||||
{
|
{
|
||||||
$$ = new ColumnType(DDL_BLOB);
|
$$ = new ColumnType(DDL_BLOB);
|
||||||
|
Reference in New Issue
Block a user