diff --git a/storage/innobase/ut/ut0crc32.cc b/storage/innobase/ut/ut0crc32.cc index 6468ade22e9..6415d04e89f 100644 --- a/storage/innobase/ut/ut0crc32.cc +++ b/storage/innobase/ut/ut0crc32.cc @@ -705,7 +705,7 @@ ut_crc32_init() ut_crc32_byte_by_byte = ut_crc32_byte_by_byte_sw; ut_crc32_implementation = "Using generic crc32 instructions"; -#if defined(__GNUC__) && defined(__x86_64__) && !defined(UNIV_DEBUG_VALGRIND) +#if defined(__GNUC__) && defined(__x86_64__) uint32_t vend[3]; uint32_t model; uint32_t family; 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;