From 02291df1311a3ce587347a4d3f4a7156a7635327 Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Wed, 22 Nov 2023 17:43:12 +0100 Subject: [PATCH] Update set_testing-240-t.cpp use only readers from the default infra for now --- test/tap/tests/set_testing-240-t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/tests/set_testing-240-t.cpp b/test/tap/tests/set_testing-240-t.cpp index 64071becb0..7ac4f17a2f 100644 --- a/test/tap/tests/set_testing-240-t.cpp +++ b/test/tap/tests/set_testing-240-t.cpp @@ -474,7 +474,7 @@ int main(int argc, char *argv[]) { diag("Creating new hostgroup 101: DELETE FROM mysql_servers WHERE hostgroup_id = 101"); MYSQL_QUERY(proxysql_admin, "DELETE FROM mysql_servers WHERE hostgroup_id = 101"); - const std::string insert = "INSERT INTO mysql_servers (hostgroup_id, hostname, port, max_connections, max_replication_lag, comment) SELECT DISTINCT 101, hostname, port, 100, 0, comment FROM mysql_servers WHERE hostgroup_id LIKE '%1'"; + const std::string insert = "INSERT INTO mysql_servers (hostgroup_id, hostname, port, max_connections, max_replication_lag, comment) SELECT DISTINCT 101, hostname, port, 100, 0, comment FROM mysql_servers WHERE hostgroup_id = '1'"; diag("Creating new hostgroup 101: %s" , insert.c_str()); MYSQL_QUERY(proxysql_admin, insert.c_str()); MYSQL_QUERY(proxysql_admin, "LOAD MYSQL SERVERS TO RUNTIME");