mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-11-29 18:37:36 +08:00
Fix sharding compilation problems
This commit is contained in:
parent
a3f8e64a47
commit
4f7a1f2188
@ -225,14 +225,14 @@ HEX_DIGIT [0-9a-fA-F]
|
|||||||
"UNSIGNED" return TK_UNSIGNED;
|
"UNSIGNED" return TK_UNSIGNED;
|
||||||
"DECIMAL" return TK_DECIMAL;
|
"DECIMAL" return TK_DECIMAL;
|
||||||
"BINARY" return TK_BINARY;
|
"BINARY" return TK_BINARY;
|
||||||
|
"FLUSH" return TK_FLUSH;
|
||||||
|
"NO_WRITE_TO_BINLOG" return TK_NO_WRITE_TO_BINLOG;
|
||||||
"NCHAR" return TK_NCHAR;
|
"NCHAR" return TK_NCHAR;
|
||||||
"INT" return TK_INT_SYM;
|
"INT" return TK_INT_SYM;
|
||||||
"ESCAPE" return TK_ESCAPE;
|
"ESCAPE" return TK_ESCAPE;
|
||||||
"CETUS_SEQUENCE" return TK_CETUS_SEQUENCE;
|
"CETUS_SEQUENCE" return TK_CETUS_SEQUENCE;
|
||||||
"CETUS_VERSION" return TK_CETUS_VERSION;
|
"CETUS_VERSION" return TK_CETUS_VERSION;
|
||||||
"WARNINGS" return TK_WARNINGS;
|
"WARNINGS" return TK_WARNINGS;
|
||||||
"FLUSH" return TK_FLUSH;
|
|
||||||
"NO_WRITE_TO_BINLOG" return TK_NO_WRITE_TO_BINLOG;
|
|
||||||
"_binary" return TK_UNDERSCORE_CHARSET;
|
"_binary" return TK_UNDERSCORE_CHARSET;
|
||||||
"_latin1" return TK_UNDERSCORE_CHARSET;
|
"_latin1" return TK_UNDERSCORE_CHARSET;
|
||||||
"_utf8" return TK_UNDERSCORE_CHARSET;
|
"_utf8" return TK_UNDERSCORE_CHARSET;
|
||||||
|
@ -1351,3 +1351,18 @@ precision ::= LP INTEGER COMMA INTEGER RP.
|
|||||||
field_length ::= LP INTEGER RP.
|
field_length ::= LP INTEGER RP.
|
||||||
opt_field_length ::= .
|
opt_field_length ::= .
|
||||||
opt_field_length ::= field_length.
|
opt_field_length ::= field_length.
|
||||||
|
|
||||||
|
///////////////////////FLUSH TABLES///////////////////////////
|
||||||
|
cmd ::=FLUSH flush_tables. {
|
||||||
|
sql_context_set_error(context, PARSE_NOT_SUPPORT,
|
||||||
|
"(cetus) FLUSH TABLES not supported");
|
||||||
|
}
|
||||||
|
flush_tables ::= tables_option.
|
||||||
|
flush_tables ::= LOCAL tables_option.
|
||||||
|
flush_tables ::= NO_WRITE_TO_BINLOG tables_option.
|
||||||
|
tables_option ::= TABLES WITH READ LOCK.
|
||||||
|
tables_option ::= TABLES tbl_list WITH READ LOCK.
|
||||||
|
tables_option ::= TABLE WITH READ LOCK.
|
||||||
|
tables_option ::= TABLE tbl_list WITH READ LOCK.
|
||||||
|
tbl_list ::= fullname.
|
||||||
|
tbl_list ::= tbl_list COMMA fullname.
|
||||||
|
Loading…
Reference in New Issue
Block a user