summaryrefslogtreecommitdiff
path: root/storage/xtradb/ut
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2016-12-05 08:35:55 +1100
committerDaniel Black <daniel.black@au.ibm.com>2016-12-05 08:35:55 +1100
commit410bf82b98cb2b29e7663ea8f2fc2d45cd0579b0 (patch)
treeb917a7eec6f98de4effd9559b762c48cb8443e51 /storage/xtradb/ut
parent6d1256973ab82406853ee114d03ae6bb8a877895 (diff)
downloadmariadb-git-410bf82b98cb2b29e7663ea8f2fc2d45cd0579b0.tar.gz
MDEV-9872: Valgrind supports CRC32B and CRC32Q since valgrind-3.6.1
We don't need to drop down to unoptimized crc because of valgrind now. Valgrind-3.6.1 was released 16 February 2011. The Power8 ASM instructions seem to be supported in 3.9.0 (31 October 2013). Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
Diffstat (limited to 'storage/xtradb/ut')
-rw-r--r--storage/xtradb/ut/ut0crc32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/ut/ut0crc32.cc b/storage/xtradb/ut/ut0crc32.cc
index 53d4295361b..15ed6bfadee 100644
--- a/storage/xtradb/ut/ut0crc32.cc
+++ b/storage/xtradb/ut/ut0crc32.cc
@@ -303,7 +303,7 @@ ut_crc32_init()
ut_crc32 = ut_crc32_slice8;
ut_crc32_implementation = "Using generic crc32 instructions";
-#if defined(__GNUC__) && defined(__x86_64__) && !defined(UNIV_DEBUG_VALGRIND)
+#if defined(__GNUC__) && defined(__x86_64__)
ib_uint32_t vend[3];
ib_uint32_t model;
ib_uint32_t family;