DBZ-4561: Add flush table[s] grammer for all open tables
This commit is contained in:
parent
1e425686d5
commit
7f827f13d6
@ -1855,8 +1855,8 @@ flushOption
|
||||
| USER_RESOURCES | TABLES (WITH READ LOCK)?
|
||||
) #simpleFlushOption
|
||||
| RELAY LOGS channelOption? #channelFlushOption
|
||||
| TABLES tables flushTableOption? #tableFlushOption
|
||||
| TABLE tables flushTableOption? #tableFlushOption
|
||||
| TABLES tables? flushTableOption? #tableFlushOption
|
||||
| TABLE tables? flushTableOption? #tableFlushOption
|
||||
;
|
||||
|
||||
flushTableOption
|
||||
|
@ -4,12 +4,14 @@ flush local hosts;
|
||||
flush hosts, status;
|
||||
|
||||
-- Table flushing
|
||||
flush tables;
|
||||
flush local tables Foo;
|
||||
flush tables Foo, Bar;
|
||||
flush tables Foo, Bar for export;
|
||||
flush tables Foo, Bar with read lock;
|
||||
|
||||
-- 'FLUSH TABLE' is an alias for 'FLUSH TABLES' (https://dev.mysql.com/doc/refman/8.0/en/flush.html)
|
||||
flush table;
|
||||
flush local table Foo;
|
||||
flush TABLE Foo, Bar;
|
||||
flush table Foo, Bar for export;
|
||||
|
Loading…
Reference in New Issue
Block a user