Skip to content

Commit

Permalink
Merge pull request #2951 from sysown/v2.0.13-varargs-quickfix
Browse files Browse the repository at this point in the history
Fix invalid passing of non-trivial object through variadic function
  • Loading branch information
JavierJF authored Jul 14, 2020
2 parents 1a81dd0 + 554afcb commit 91737e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProxySQL_Admin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8498,7 +8498,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<std::string> filters;
Expand Down

0 comments on commit 91737e0

Please sign in to comment.