diff --git a/test/tap/tests_with_deps/deprecate_eof_support/deprecate_eof_cache-t.cpp b/test/tap/tests_with_deps/deprecate_eof_support/deprecate_eof_cache-t.cpp index 503e256a1..24eafe4e0 100644 --- a/test/tap/tests_with_deps/deprecate_eof_support/deprecate_eof_cache-t.cpp +++ b/test/tap/tests_with_deps/deprecate_eof_support/deprecate_eof_cache-t.cpp @@ -117,13 +117,6 @@ int main(int argc, char** argv) { } } - // Delete previous mysql_query_rules matching target digest - MYSQL_QUERY( - proxy_admin, - "DELETE FROM mysql_query_rules WHERE " - "match_digest='SELECT \\* FROM test\\.ok_packet_cache_test WHERE id=?'" - ); - // Disable current ^SELECT query rule MYSQL_QUERY(proxy_admin, "UPDATE mysql_query_rules SET active=0 WHERE rule_id=2"); @@ -303,17 +296,6 @@ int main(int argc, char** argv) { ); } - // Delete new query cache rule - MYSQL_QUERY( - proxy_admin, - "DELETE FROM mysql_query_rules WHERE " - "match_digest='SELECT \\* FROM test\\.ok_packet_cache_test WHERE id=?'" - ); - - // Enable old ^SELECT query rule - MYSQL_QUERY(proxy_admin, "UPDATE mysql_query_rules SET active=1 WHERE rule_id=2"); - MYSQL_QUERY(proxy_admin, "LOAD MYSQL QUERY RULES TO RUNTIME"); - mysql_close(proxy_admin); mysql_close(proxy_mysql);