From 79bbf5e817e41085eba7d14ebb025405b0386e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20S=C3=A1nchez=20Parra?= Date: Mon, 27 Feb 2023 15:45:11 +0100 Subject: [PATCH] Remove unneeded cleanup in deprecate_eof_cache-t.cpp --- .../deprecate_eof_cache-t.cpp | 18 ------------------ 1 file changed, 18 deletions(-) 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);