Update mysql_federated.rs
@@ -242,8 +242,6 @@ impl MySQLFederated {
None,
),
("(?i)^(/\\* ApplicationName=(.*)SHOW VARIABLES(.*))", None),
- // pt-toolkit
- ("(?i)^(/\\*!40101 SET(.*) \\*/)$", None),
// mysqldump 5.7.16
("(?i)^(/\\*!40100 SET(.*) \\*/)$", None),
("(?i)^(/\\*!40103 SET(.*) \\*/)$", None),
@@ -251,6 +249,7 @@ impl MySQLFederated {
("(?i)^(/\\*!40101 SET(.*) \\*/)$", None),
("(?i)^(/\\*!40014 SET(.*) \\*/)$", None),
("(?i)^(/\\*!40000 SET(.*) \\*/)$", None),
+ ("(?i)^(/\\*!40000 ALTER(.*) \\*/)$", None),
];
FederatedHelper::block_match_rule(query, rules)
