DBZ-3925 Add support for FLUSH FIREWALL_RULES for Azure Database for MySQL Single Server instance

This commit is contained in:
mfvitale 2023-07-04 17:07:14 +02:00 committed by Chris Cranford
parent 78e6baeb31
commit 7811d86edf
3 changed files with 9 additions and 1 deletions

View File

@ -770,6 +770,9 @@ CLIENT_STATISTICS: 'CLIENT_STATISTICS';
INDEX_STATISTICS: 'INDEX_STATISTICS'; INDEX_STATISTICS: 'INDEX_STATISTICS';
TABLE_STATISTICS: 'TABLE_STATISTICS'; TABLE_STATISTICS: 'TABLE_STATISTICS';
// Azure Database for MySQL Single Server instance:
FIREWALL_RULES: 'FIREWALL_RULES';
// PRIVILEGES // PRIVILEGES

View File

@ -1998,6 +1998,8 @@ flushStatement
flushOption (',' flushOption)* flushOption (',' flushOption)*
// MariaDB userstat plugin // MariaDB userstat plugin
| FLUSH (USER_STATISTICS | CLIENT_STATISTICS | INDEX_STATISTICS | TABLE_STATISTICS) | FLUSH (USER_STATISTICS | CLIENT_STATISTICS | INDEX_STATISTICS | TABLE_STATISTICS)
// Specific for Azure Database for MySQL Single Server instance.
| FLUSH FIREWALL_RULES
; ;
killStatement killStatement
@ -2825,7 +2827,7 @@ keywordsCanBeId
| BINLOG_MONITOR | BINLOG_REPLAY | CURRENT_ROLE | CYCLE | ENCRYPTED | ENCRYPTION_KEY_ID | FEDERATED_ADMIN | BINLOG_MONITOR | BINLOG_REPLAY | CURRENT_ROLE | CYCLE | ENCRYPTED | ENCRYPTION_KEY_ID | FEDERATED_ADMIN
| INCREMENT | LASTVAL | LOCKED | MAXVALUE | MINVALUE | NEXTVAL | NOCACHE | NOCYCLE | NOMAXVALUE | NOMINVALUE | INCREMENT | LASTVAL | LOCKED | MAXVALUE | MINVALUE | NEXTVAL | NOCACHE | NOCYCLE | NOMAXVALUE | NOMINVALUE
| PERSISTENT | PREVIOUS | READ_ONLY_ADMIN | REPLICA | REPLICATION_MASTER_ADMIN | RESTART | SEQUENCE | SETVAL | PERSISTENT | PREVIOUS | READ_ONLY_ADMIN | REPLICA | REPLICATION_MASTER_ADMIN | RESTART | SEQUENCE | SETVAL
| SKIP_ | STATEMENT | UUID | VIA | MONITOR | READ_ONLY| REPLAY | USER_STATISTICS | CLIENT_STATISTICS | INDEX_STATISTICS | TABLE_STATISTICS | SKIP_ | STATEMENT | UUID | VIA | MONITOR | READ_ONLY| REPLAY | USER_STATISTICS | CLIENT_STATISTICS | INDEX_STATISTICS | TABLE_STATISTICS | FIREWALL_RULES
; ;
functionNameBase functionNameBase

View File

@ -17,5 +17,8 @@ flush TABLE Foo, Bar;
flush table Foo, Bar for export; flush table Foo, Bar for export;
flush table Foo, Bar with read lock; flush table Foo, Bar with read lock;
-- Azure Database for MySQL Single Server instance. This type of database server is being decommissioned on Sept 16 2024 and is succeeded by their "Flexible Server" offering.
FLUSH FIREWALL_RULES;