diff --git a/test/tap/tests/test_binlog_fast_forward-t.cpp b/test/tap/tests/test_binlog_fast_forward-t.cpp index 7ef315cf9e..245388374f 100644 --- a/test/tap/tests/test_binlog_fast_forward-t.cpp +++ b/test/tap/tests/test_binlog_fast_forward-t.cpp @@ -109,6 +109,8 @@ int setup_replication(int server_id, bool frontend_ssl, bool backend_ssl, std::v MYSQL * mysql = mysql_init(NULL); std::vector admin_queries = {}; + admin_queries.push_back("DELETE FROM mysql_query_rules"); + admin_queries.push_back("LOAD MYSQL QUERY RULES TO RUNTIME"); admin_queries.push_back(std::string("SET mysql-have_ssl='") + std::string(frontend_ssl ? "true" : "false") + "'"); admin_queries.push_back("LOAD MYSQL VARIABLES TO RUNTIME"); admin_queries.push_back(std::string("UPDATE mysql_servers SET use_ssl=") + std::string(backend_ssl ? "1" : "0"));