mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Prefixed cmake WITH_ definitions with WSREP_LIB_ to avoid collisions
with superproject definitions. Avoid using client_service::do_2pc() in before_commit() to determine if 2pc is actually happening, will use transaction states to deduce that. client_service::do_2pc() should be deprecated. Fixed a compiler warning in db_high_priority_service.cpp.
This commit is contained in:
@ -19,7 +19,7 @@ add_test(NAME wsrep-lib_test
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/wsrep-lib_test
|
||||
)
|
||||
|
||||
if (WITH_AUTO_TEST)
|
||||
if (WSREP_LIB_WITH_AUTO_TEST)
|
||||
set(UNIT_TEST wsrep-lib_test)
|
||||
add_custom_command(
|
||||
TARGET ${UNIT_TEST}
|
||||
|
Reference in New Issue
Block a user