1
0
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:
Andrew Hutchings
2020-02-10 16:24:02 +00:00
parent acc87f4cfc
commit c334a6fb1e

View File

@@ -732,13 +732,25 @@ optional_braces:
| '(' ')' {}
;
opt_column_charset:
/* empty */ {}
|
IDB_CHAR SET ident {}
;
opt_column_collate:
/* empty */ {}
|
COLLATE ident {}
;
data_type:
character_string_type
character_string_type opt_column_charset opt_column_collate
| binary_string_type
| numeric_type
| datetime_type
| blob_type
| text_type
| text_type opt_column_charset opt_column_collate
| IDB_BLOB
{
$$ = new ColumnType(DDL_BLOB);