From c95afaf3ff376e50608d80a4b77b48852a53e480 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Fri, 14 Mar 2025 20:24:36 +0500 Subject: [PATCH] Fixed column count --- lib/MySQL_Query_Processor.cpp | 2 +- lib/PgSQL_Query_Processor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MySQL_Query_Processor.cpp b/lib/MySQL_Query_Processor.cpp index d4c20f357..561fd3084 100644 --- a/lib/MySQL_Query_Processor.cpp +++ b/lib/MySQL_Query_Processor.cpp @@ -941,7 +941,7 @@ MySQL_Query_Processor_Rule_t* MySQL_Query_Processor::new_query_rule(const MySQL_ SQLite3_result* MySQL_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(35); + SQLite3_result* result = new SQLite3_result(36); MySQL_Query_Processor_Rule_t* qr1; rdlock(); result->add_column_definition(SQLITE_TEXT, "rule_id"); diff --git a/lib/PgSQL_Query_Processor.cpp b/lib/PgSQL_Query_Processor.cpp index e5beeae2c..9165a561f 100644 --- a/lib/PgSQL_Query_Processor.cpp +++ b/lib/PgSQL_Query_Processor.cpp @@ -576,7 +576,7 @@ PgSQL_Query_Processor_Rule_t* PgSQL_Query_Processor::new_query_rule(const PgSQL_ SQLite3_result* PgSQL_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(34); + SQLite3_result* result = new SQLite3_result(35); PgSQL_Query_Processor_Rule_t* qr1; rdlock(); result->add_column_definition(SQLITE_TEXT, "rule_id");