Skip to content

Commit

Permalink
Read-Write split causing conflict. Removed mysql query rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Jan 1, 2024
1 parent 6b76ceb commit f0a46f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tap/tests/test_binlog_fast_forward-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> 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"));
Expand Down

0 comments on commit f0a46f6

Please sign in to comment.