1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

MCOL-2219 Fix space handling in DDL parser

Allow non-alphanumeric character after space in column names.
This commit is contained in:
Andrew Hutchings
2019-08-01 18:20:13 +01:00
parent 1b9d10c84e
commit e9a4412346

View File

@@ -65,7 +65,7 @@ double_quote \"
grave_accent `
comment ("--"{non_newline}*)
extended_ident_cont [A-Za-z\200-\377_0-9\$#,()\[\].;\:\+\-\*\/\%\^\<\>\=!&|@\\]
extended_ident_cont [ A-Za-z\200-\377_0-9\$#,()\[\].;\:\+\-\*\/\%\^\<\>\=!&|@\\]
self [,()\[\].;\:\+\-\*\/\%\^\<\>\=]
whitespace ({space}+|{comment})
@@ -190,8 +190,6 @@ BOOLEAN {return BOOLEAN;}
\n { lineno++;}
{column_ident_quoted} { ddlget_lval(yyscanner)->str = scanner_copy(ddlget_text(yyscanner), yyscanner, STRIP_QUOTES); return IDENT;}
{whitespace} {
/* ignore */
}