From d503ffec34e193d0fdec7ae361067a468f588b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Tue, 14 Jul 2020 15:51:58 +0200 Subject: [PATCH] Fix invalid passing of non-trivial object through variadic function --- lib/ProxySQL_Admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index 84a614a92..8a7d4cfe7 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -9103,7 +9103,7 @@ void ProxySQL_Admin::flush_debug_filters_database_to_runtime(SQLite3DB *db) { std::string query = "SELECT filename, line, funct FROM debug_filters"; admindb->execute_statement(query.c_str(), &error , &cols , &affected_rows , &resultset); if (error) { - proxy_error("Error on %s : %s\n", query, error); + proxy_error("Error on %s : %s\n", query.c_str(), error); assert(0); } else { std::set filters;