From a8846cc54338e18ef81024eb23c0d1ddf19ec15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 28 Jun 2017 23:12:24 +0200 Subject: [PATCH] Incorrect number of columns in Query_Processor::get_current_query_rules() Crashing bug affecting only 1.4 --- lib/Query_Processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Query_Processor.cpp b/lib/Query_Processor.cpp index f4d4b9b07..3ca18d5d5 100644 --- a/lib/Query_Processor.cpp +++ b/lib/Query_Processor.cpp @@ -613,7 +613,7 @@ SQLite3_result * Query_Processor::get_stats_query_rules() { SQLite3_result * Query_Processor::get_current_query_rules() { proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR, 4, "Dumping current query rules, using Global version %d\n", version); - SQLite3_result *result=new SQLite3_result(30); + SQLite3_result *result=new SQLite3_result(32); #ifdef PROXYSQL_QPRO_PTHREAD_MUTEX pthread_rwlock_rdlock(&rwlock); #else