[Commits] Rev 3345: Fixes for galera build in file:///H:/bzr/maria-5.5-galera/

Vladislav Vaintroub wlad at montyprogram.com
Tue Sep 4 23:16:40 EEST 2012


At file:///H:/bzr/maria-5.5-galera/

------------------------------------------------------------
revno: 3345
revision-id: wlad at montyprogram.com-20120904201346-hauyca5pv2ggc3m3
parent: seppo.jaakola at codership.com-20120830092237-d2hnsru8ldauz9pp
committer: Vladislav Vaintroub <wlad at montyprogram.com>
branch nick: maria-5.5-galera
timestamp: Tue 2012-09-04 22:13:46 +0200
message:
  Fixes for galera build 
  - compile with WITH_WSREP on
  - fix package name
-------------- next part --------------
=== modified file 'cmake/package_name.cmake'
--- a/cmake/package_name.cmake	2012-04-10 06:28:13 +0000
+++ b/cmake/package_name.cmake	2012-09-04 20:13:46 +0000
@@ -120,7 +120,7 @@
   ELSEIF(MYSQL_SERVER_SUFFIX)
     SET(PRODUCT_TAG "${MYSQL_SERVER_SUFFIX}")  # Already has a leading dash
   ELSE()
-    SET(PRODUCT_TAG)
+    SET(PRODUCT_TAG "-galera")
   ENDIF()
 
   IF("${VERSION}" MATCHES "-ndb-")

=== modified file 'cmake/wsrep.cmake'
--- a/cmake/wsrep.cmake	2012-08-30 09:22:37 +0000
+++ b/cmake/wsrep.cmake	2012-09-04 20:13:46 +0000
@@ -47,7 +47,7 @@
     "${WSREP_API_VERSION}.${WSREP_PATCH_VERSION}.r${WSREP_PATCH_REVNO}"
 )
 
-OPTION(WITH_WSREP "WSREP replication API (to use, e.g. Galera Replication library)" OFF)
+OPTION(WITH_WSREP "WSREP replication API (to use, e.g. Galera Replication library)" ON)
 IF (WITH_WSREP)
   SET(WSREP_C_FLAGS   "-DWITH_WSREP -DWSREP_PROC_INFO -DMYSQL_MAX_VARIABLE_VALUE_LEN=2048")
   SET(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} ${WSREP_C_FLAGS}")



More information about the commits mailing list