Commit ace41c96 authored by Vasil Dimov's avatar Vasil Dimov

Enable InnoDB's UNIV_DEBUG if MySQL's WITH_DEBUG[_FULL] is defined

This will make PB2 test InnoDB with UNIV_DEBUG on its *_debug platforms

Discussed with:	Marko (on IRC)
parent 3a1e13d0
...@@ -40,6 +40,10 @@ IF(UNIX) ...@@ -40,6 +40,10 @@ IF(UNIX)
ENDIF() ENDIF()
ENDIF() ENDIF()
# Enable InnoDB's UNIV_DEBUG if MySQL's WITH_DEBUG[_FULL] is defined
IF(WITH_DEBUG OR WITH_DEBUG_FULL)
ADD_DEFINITIONS("-DUNIV_DEBUG")
ENDIF()
IF(NOT MSVC) IF(NOT MSVC)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not # either define HAVE_IB_GCC_ATOMIC_BUILTINS or not
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment