From fa8631c6cbdf94d27c387fea789accefb5c2726f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 22 May 2024 22:32:51 +0200 Subject: [PATCH] match the rename in the handler rows_changed->rows_stats.updated --- VERSION | 4 ++-- dbcon/mysql/ha_mcs.cpp | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e2b54802c..abcde5fb5 100644 --- a/VERSION +++ b/VERSION @@ -1,4 +1,4 @@ COLUMNSTORE_VERSION_MAJOR=23 COLUMNSTORE_VERSION_MINOR=10 -COLUMNSTORE_VERSION_PATCH=0 -COLUMNSTORE_VERSION_RELEASE=1 +COLUMNSTORE_VERSION_PATCH=1 +COLUMNSTORE_VERSION_RELEASE=2 diff --git a/dbcon/mysql/ha_mcs.cpp b/dbcon/mysql/ha_mcs.cpp index c735dbc45..d31150387 100644 --- a/dbcon/mysql/ha_mcs.cpp +++ b/dbcon/mysql/ha_mcs.cpp @@ -67,6 +67,11 @@ pthread_mutex_t mcs_mutex; #endif #define DEBUG_RETURN return +#if MYSQL_VERSION_ID >= 110500 +/* because of renames in the handler class */ +#define rows_changed rows_stats.updated +#endif + /** @brief Function we use in the creation of our hash to get key.