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)
This commit is contained in:
Vasil Dimov 2010-06-23 13:02:49 +03:00
commit 1161ec0836

View file

@ -40,6 +40,10 @@ IF(UNIX)
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)
# either define HAVE_IB_GCC_ATOMIC_BUILTINS or not