From c18754b5958d44618dfd03a8916d35729c181b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Fri, 10 May 2024 01:39:57 +0000 Subject: [PATCH] Disable debug filter in test_query_rules_fast_routing_algorithm-t --- test/tap/tests/test_query_rules_fast_routing_algorithm-t.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/tap/tests/test_query_rules_fast_routing_algorithm-t.cpp b/test/tap/tests/test_query_rules_fast_routing_algorithm-t.cpp index 81b8c39ee4..ce0faa6049 100644 --- a/test/tap/tests/test_query_rules_fast_routing_algorithm-t.cpp +++ b/test/tap/tests/test_query_rules_fast_routing_algorithm-t.cpp @@ -215,6 +215,9 @@ int test_fast_routing_algorithm( MYSQL_QUERY_T(admin, "SET admin-debug_output=3"); MYSQL_QUERY_T(admin, "LOAD ADMIN VARIABLES TO RUNTIME"); MYSQL_QUERY_T(admin, "UPDATE debug_levels SET verbosity=7 WHERE module='debug_mysql_query_processor'"); + // If there is a generic debug filter (line==0) on Query_Processor.cpp , process_mysql_query() , disable it. + // If the filter was present it will be automatically recreated by the tester. + MYSQL_QUERY_T(admin, "DELETE FROM debug_filters WHERE filename='Query_Processor.cpp' AND line=0 AND funct='process_mysql_query'"); MYSQL_QUERY_T(admin, "LOAD DEBUG TO RUNTIME"); // Open the SQLite3 db for debugging