diff --git a/test/tap/tests/mysql-fast_forward-t.cpp b/test/tap/tests/mysql-fast_forward-t.cpp index 7cf1b230a0..dcf89ca6a9 100644 --- a/test/tap/tests/mysql-fast_forward-t.cpp +++ b/test/tap/tests/mysql-fast_forward-t.cpp @@ -32,7 +32,7 @@ int create_connections() { for (int i = 0; i < NUM_CONNS ; i++) { MYSQL * mysql = mysql_init(NULL); - diag("Connecting: cl.username='%s' cl.use_ssl=%d cl.compression", cl.admin_username, cl.use_ssl, cl.compression); + diag("Connecting: cl.username='%s' cl.use_ssl=%d cl.compression=%d", cl.admin_username, cl.use_ssl, cl.compression); if (cl.use_ssl) mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL); if (cl.compression) diff --git a/test/tap/tests/test_prometheus_metrics-t.cpp b/test/tap/tests/test_prometheus_metrics-t.cpp index 0239f3999e..25dd082bfb 100644 --- a/test/tap/tests/test_prometheus_metrics-t.cpp +++ b/test/tap/tests/test_prometheus_metrics-t.cpp @@ -148,7 +148,7 @@ bool trigger_access_denied_wrong_password_total(MYSQL*, MYSQL*) { bool access_denied_error = false; // Connect to ProxySQL MYSQL* proxysql = mysql_init(NULL); - diag("Connecting: username='%s' cl.use_ssl=%d cl.compression", "invalid_username", cl.use_ssl, cl.compression); + diag("Connecting: username='%s' cl.use_ssl=%d cl.compression=%d", "invalid_username", cl.use_ssl, cl.compression); if (cl.use_ssl) mysql_ssl_set(proxysql, NULL, NULL, NULL, NULL, NULL); if (cl.compression) diff --git a/test/tap/tests/test_sqlite3_server-t.cpp b/test/tap/tests/test_sqlite3_server-t.cpp index 9c2a618955..9de918b88f 100644 --- a/test/tap/tests/test_sqlite3_server-t.cpp +++ b/test/tap/tests/test_sqlite3_server-t.cpp @@ -379,7 +379,7 @@ int main(int argc, char** argv) { std::string inv_user_err {}; bool failed_to_connect = false; MYSQL* proxysql_sqlite3 = mysql_init(NULL); - diag("Connecting: username='%s' cl.use_ssl=%d cl.compression", "foobar_user", cl.use_ssl, cl.compression); + diag("Connecting: username='%s' cl.use_ssl=%d cl.compression=%d", "foobar_user", cl.use_ssl, cl.compression); if (cl.use_ssl) mysql_ssl_set(proxysql_sqlite3, NULL, NULL, NULL, NULL, NULL); if (cl.compression)