Fiix LPBUG#798629
Define USE_MARIA_FOR_TMP_TABLES preprocessor constant by default if Aria engine is compiled in. Use CMake variable WITH_ARIA_TMP_TABLES to control the temp table engine setting.
This commit is contained in:
parent
bf0e1f44c6
commit
94b3e6a809
@ -318,10 +318,12 @@ ENDIF(NOT WITHOUT_PARTITION_STORAGE_ENGINE)
|
||||
# Special handling for tmp tables with the Aria engine
|
||||
IF(WITH_ARIA_STORAGE_ENGINE)
|
||||
ADD_DEFINITIONS(-DWITH_ARIA_STORAGE_ENGINE)
|
||||
IF(WITH_MARIA_TMP_TABLES)
|
||||
SET(WITH_ARIA_TMP_TABLES 1 CACHE BOOL "Use Aria for temporary tables")
|
||||
IF(WITH_ARIA_TMP_TABLES)
|
||||
MESSAGE(STATUS "Using Aria for temporary tables")
|
||||
ADD_DEFINITIONS(-DUSE_MARIA_FOR_TMP_TABLES)
|
||||
ENDIF(WITH_MARIA_TMP_TABLES)
|
||||
ENDIF(WITH_ARIA_STORAGE_ENGINE)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
ADD_DEFINITIONS(${STORAGE_ENGINE_DEFS})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user