Skip to content

Commit

Permalink
Prevent building WSREP without INNODB
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauron authored and Jan Lindström committed Feb 15, 2018
1 parent c6e3527 commit 8db54f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wsrep/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@

SET(WSREP_SOURCES wsrep_gtid.c wsrep_uuid.c wsrep_loader.c wsrep_dummy.c)

IF(NOT WITH_INNOBASE_STORAGE_ENGINE)
MESSAGE(WARNING "WSRep is enabled, but innodb is not. This configuration is not supported")
ENDIF()

ADD_CONVENIENCE_LIBRARY(wsrep ${WSREP_SOURCES})
DTRACE_INSTRUMENT(wsrep)

Expand Down

1 comment on commit 8db54f1

@Esysteme
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's good ;), I think better to add an error ?

Please sign in to comment.