DBZ-5662 Support statement as table / column name in MySql

Broken in DBZ-5650
This commit is contained in:
Nir Levy 2022-09-28 10:00:46 +03:00 committed by Chris Cranford
parent 003bcf427f
commit db7b80fcdd
2 changed files with 2 additions and 1 deletions

View File

@ -2733,7 +2733,7 @@ keywordsCanBeId
// MariaDB
| VIA | LASTVAL | NEXTVAL | SETVAL | PREVIOUS | PERSISTENT | REPLICATION_MASTER_ADMIN | REPLICA | READ_ONLY_ADMIN | FEDERATED_ADMIN | BINLOG_MONITOR | BINLOG_REPLAY
| ENCRYPTED | ENCRYPTION_KEY_ID | CURRENT_ROLE | SKIP_ | LOCKED | CYCLE | INCREMENT | MINVALUE | MAXVALUE | NOCACHE
| NOCYCLE | NOMINVALUE | NOMAXVALUE | RESTART | SEQUENCE
| NOCYCLE | NOMINVALUE | NOMAXVALUE | RESTART | SEQUENCE | STATEMENT
;
functionNameBase

View File

@ -43,6 +43,7 @@ CREATE TABLE `tblSRCHjob_desc` (`description_id` bigint(20) unsigned NOT NULL AU
create table invisible_column_test(id int, col1 int INVISIBLE);
create table visible_column_test(id int, col1 int VISIBLE);
create table table_with_buckets(id int(11) auto_increment NOT NULL COMMENT 'ID', buckets int(11) NOT NULL COMMENT '分桶数');
create table statement(id int);
CREATE TABLE table_items (id INT, purchased DATE)
PARTITION BY RANGE( YEAR(purchased) )