diff --git a/test/tap/tests/test_binlog_fast_forward-t.cpp b/test/tap/tests/test_binlog_fast_forward-t.cpp index 7ef315cf9e..06cc391e89 100644 --- a/test/tap/tests/test_binlog_fast_forward-t.cpp +++ b/test/tap/tests/test_binlog_fast_forward-t.cpp @@ -109,6 +109,9 @@ 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("INSERT INTO mysql_query_rules (rule_id,active,match_digest,destination_hostgroup,multiplex,apply) VALUES\ + (-1,1,'^(SELECT @rpl_semi_sync_slave=\\?.*|SET @rpl_semi_sync_slave=\\?.*)$',0,0,1)"); + 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"));