From 86b12cabae5d641cacf651dc73152c3f0f97ccd9 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Tue, 12 Dec 2017 21:11:52 +0000 Subject: [PATCH] MCOL-978 Disable QCache for ColumnStore ColumnStore tables can have data modifications away from a specific MariaDB server. This means it is possible for QCache to not be invalidated properly in vtable mode 0. This patch makes sure it is disabled for ColumnStore. --- dbcon/mysql/ha_calpont.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbcon/mysql/ha_calpont.h b/dbcon/mysql/ha_calpont.h index 8bcf2edfd..ebd7d120a 100644 --- a/dbcon/mysql/ha_calpont.h +++ b/dbcon/mysql/ha_calpont.h @@ -239,6 +239,8 @@ public: THR_LOCK_DATA** store_lock(THD* thd, THR_LOCK_DATA** to, enum thr_lock_type lock_type); ///< required const COND* cond_push(const COND* cond); + uint8 table_cache_type() { return HA_CACHE_TBL_NOCACHE; } + }; #endif //HA_CALPONT_H__