
According to customer reports collecting the statistics has a significant impact on the performance. As we don't need that information we can just as well turn off that. Further, since maxscale-common now links to the sqlite3-library, no module needs to do that explicitly.
6 lines
330 B
CMake
6 lines
330 B
CMake
if(BUILD_TESTS)
|
|
add_executable(testbinlogrouter testbinlog.c ../blr.c ../blr_slave.c ../blr_master.c ../blr_file.c ../blr_cache.c)
|
|
target_link_libraries(testbinlogrouter maxscale-common ${PCRE_LINK_FLAGS} uuid)
|
|
add_test(NAME TestBinlogRouter COMMAND ./testbinlogrouter WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
|
endif()
|