From 351e6bb236ede5ce0f7f776297a2beadbefdfc70 Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Tue, 12 Mar 2024 18:02:07 +0000 Subject: [PATCH] fix comparison --- test/tap/tests/admin_show_table_status-t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/tests/admin_show_table_status-t.cpp b/test/tap/tests/admin_show_table_status-t.cpp index 1e48e7847..0727e023c 100644 --- a/test/tap/tests/admin_show_table_status-t.cpp +++ b/test/tap/tests/admin_show_table_status-t.cpp @@ -81,7 +81,7 @@ int main() { MYSQL_QUERY(proxysql_admin, query); MYSQL_RES* proxy_res = mysql_store_result(proxysql_admin); unsigned long rows = proxy_res->row_count; - ok(rows = 1 , "SHOW TABLE STATUS %s generated %lu row(s)", it->c_str(), rows); + ok(rows == 1 , "SHOW TABLE STATUS %s generated %lu row(s)", it->c_str(), rows); mysql_free_result(proxy_res); } free(query);