1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-1660/1659 Table/column identifiers support spaces in DDL.

MCOL-1660/1659 Table/column identifiers support spaces in DDL.
This commit is contained in:
Roman Nozdrin
2018-08-17 22:27:02 +03:00
parent fdb4ef7f79
commit 07bd413053
2 changed files with 4 additions and 4 deletions

View File

@@ -72,9 +72,9 @@ ident_start [A-Za-z\200-\377_]
ident_cont [A-Za-z\200-\377_0-9\$]
identifier {ident_start}{ident_cont}*
/* fully qualified names regexes */
fq_identifier {identifier}\.{identifier}
identifier_quoted {grave_accent}{identifier}{grave_accent}
identifier_double_quoted {double_quote}{identifier}{double_quote}
ident_w_spaces {identifier}\x20*
identifier_quoted {grave_accent}{ident_w_spaces}+{grave_accent}
identifier_double_quoted {double_quote}{ident_w_spaces}+{double_quote}
integer [-+]?{digit}+
decimal ([-+]?({digit}*\.{digit}+)|({digit}+\.{digit}*))

View File

@@ -604,7 +604,7 @@ table_name:
;
qualified_name:
| ident {
ident {
if (x->fDBSchema.size())
$$ = new QualifiedName((char*)x->fDBSchema.c_str(), $1);
else