mirror of
https://github.com/MariaDB/server.git
synced 2025-10-02 22:09:13 +02:00

And add a variable spider_disable_select_handler, just like spider_disable_group_by_handler. As part of the rollout process, spider_disable_select_handler defaults to 1. The gbh will be deprecated in due course. All spider tests are run twice, once with the gbh and once with the sh. Technically, the sh shares subroutines used by the gbh, and for now as the V1 implementation it shares some similar limitations as the gbh: - does not support statements with subqueries - does not support tables with more than one read partitions - only supports statements where all remote tables are on the same server
33 lines
976 B
CMake
33 lines
976 B
CMake
IF(HAVE_WVLA)
|
|
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wno-vla")
|
|
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wno-vla")
|
|
ENDIF()
|
|
|
|
IF(MSVC)
|
|
# Temporarily disable "conversion from size_t .."
|
|
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4267")
|
|
ENDIF()
|
|
ENDIF()
|
|
|
|
SET(SPIDER_SOURCES
|
|
spd_param.cc spd_sys_table.cc spd_trx.cc spd_db_conn.cc spd_conn.cc
|
|
spd_table.cc spd_direct_sql.cc spd_udf.cc spd_ping_table.cc
|
|
spd_copy_tables.cc spd_i_s.cc spd_malloc.cc ha_spider.cc spd_udf.def
|
|
spd_db_mysql.cc spd_group_by_handler.cc spd_db_include.cc
|
|
spd_select_handler.cc spd_pushdown.cc
|
|
)
|
|
|
|
IF(PLUGIN_PARTITION MATCHES "^NO$")
|
|
MESSAGE(STATUS "Spider is skipped because partitioning is disabled")
|
|
ELSE()
|
|
IF(DEB)
|
|
SET(extra_options COMPONENT spider-engine)
|
|
ELSE()
|
|
SET(extra_options CONFIG spider.cnf)
|
|
ENDIF()
|
|
|
|
MYSQL_ADD_PLUGIN(spider ${SPIDER_SOURCES} ${extra_options}
|
|
STORAGE_ENGINE MODULE_ONLY)
|
|
ENDIF()
|
|
|