summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@sun.com>2010-02-24 02:06:08 +0100
committerVladislav Vaintroub <wlad@sun.com>2010-02-24 02:06:08 +0100
commit0faa8ef87ac680f5dd15ba7c9fe4b840042d65cd (patch)
tree6fd0663fb1e5a25a882db5a666de5996db1458a6 /storage/innobase
parent10ca1ec054f972c5efcec340bc023977547c7097 (diff)
downloadmariadb-git-0faa8ef87ac680f5dd15ba7c9fe4b840042d65cd.tar.gz
Fix typo
HAVE_IBGCC_ATOMIC_BUILTINS=>HAVE_IB_GCC_ATOMIC_BUILTINS. Due to the typo, detection of atomics was broken. It also lead to valgrind error during shutdown (access to freed memory),which is likely present in all builds where atomics are not used.
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/CMakeLists.txt b/storage/innobase/CMakeLists.txt
index 81a73513806..a11007c8472 100644
--- a/storage/innobase/CMakeLists.txt
+++ b/storage/innobase/CMakeLists.txt
@@ -78,8 +78,8 @@ IF(NOT CMAKE_CROSSCOMPILING)
)
ENDIF()
-IF(HAVE_IBGCC_ATOMIC_BUILTINS)
- ADD_DEFINITIONS(-DHAVE_IBGCCC_ATOMIC_BUILTINS=1)
+IF(HAVE_IB_GCC_ATOMIC_BUILTINS)
+ ADD_DEFINITIONS(-DHAVE_IB_GCC_ATOMIC_BUILTINS=1)
ENDIF()
# either define HAVE_IB_ATOMIC_PTHREAD_T_GCC or not