From 3328fa3408b5759b084ccad8c3561cd6cf7147a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20S=C3=A1nchez=20Parra?= Date: Mon, 27 Feb 2023 15:53:28 +0100 Subject: [PATCH] Remove default infra query rules from deprecate_eof_cache-t --- .../deprecate_eof_support/deprecate_eof_cache-t.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 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 24eafe4e0..7e9a1a9b4 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,8 +117,8 @@ int main(int argc, char** argv) { } } - // Disable current ^SELECT query rule - MYSQL_QUERY(proxy_admin, "UPDATE mysql_query_rules SET active=0 WHERE rule_id=2"); + // Delete previous mysql_query_rules + MYSQL_QUERY(proxy_admin, "DELETE FROM mysql_query_rules"); // Add a new query rule with caching TTL for targgeting the cache std::string query_digest { "SELECT \\* FROM test\\.ok_packet_cache_test WHERE id=?" };