From bf8dc0be9e4bc26a57223ea1d642470980dc4bc4 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 17 Mar 2022 12:13:19 +0100 Subject: [PATCH] fix columnstore compilation after 33c30da16550 normally, one has to include my_global.h before including psi/psi*.h files. ColumnStore cannot do it, so it needs a workaround. --- storage/columnstore/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/storage/columnstore/CMakeLists.txt b/storage/columnstore/CMakeLists.txt index f2af02c2366..ebb138c70f0 100644 --- a/storage/columnstore/CMakeLists.txt +++ b/storage/columnstore/CMakeLists.txt @@ -5,6 +5,10 @@ if("NO" STREQUAL "${PLUGIN_COLUMNSTORE}") endif() add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS) +IF(NOT PLUGIN_PERFSCHEMA STREQUAL NO) + add_definitions(-DHAVE_PSI_INTERFACE=) +ENDIF() + # this does everything, gets the var from the correct scope, appends new # values, sets in the correct scope