You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-27 21:01:50 +03:00
ColumnStore used to include server's mysql.h but link all tools with libmariadb.so There's no guarantee that this would work, even with workarounds it had in dbcon/mysql/sm.cpp Fix: * tools (linked with libmariadb.so) *must* include libmariadb's mysql.h * as a hack prevent service_thd_timezone.h from being loaded into tools, as it conflicts with libmariadb's mysql.h * server plugin *must* include server's mysql.h * also don't link every tool with libmariadb.so, link the helper library (liblibmysqlclient.so) that actually needs it, tools use this helper library, not libmariadb.so directly
36 lines
952 B
CMake
36 lines
952 B
CMake
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} ../blockcache ../linux-port)
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(PrimProc_SRCS
|
|
primproc.cpp
|
|
batchprimitiveprocessor.cpp
|
|
bppseeder.cpp
|
|
bppsendthread.cpp
|
|
columncommand.cpp
|
|
command.cpp
|
|
dictstep.cpp
|
|
filtercommand.cpp
|
|
logger.cpp
|
|
passthrucommand.cpp
|
|
primitiveserver.cpp
|
|
pseudocc.cpp
|
|
rtscommand.cpp
|
|
umsocketselector.cpp
|
|
serviceexemgr.cpp
|
|
sqlfrontsessionthread.cpp
|
|
rssmonfcn.cpp
|
|
activestatementcounter.cpp
|
|
femsghandler.cpp
|
|
../../utils/common/crashtrace.cpp)
|
|
|
|
add_executable(PrimProc ${PrimProc_SRCS})
|
|
|
|
add_dependencies(PrimProc loggingcpp)
|
|
target_include_directories(PrimProc PRIVATE ${Boost_INCLUDE_DIRS})
|
|
target_link_libraries(PrimProc ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} threadpool cacheutils dbbc processor)
|
|
|
|
install(TARGETS PrimProc DESTINATION ${ENGINE_BINDIR} COMPONENT columnstore-engine)
|