Skip to content

Commit 76dc6af

Browse files
committed
TokuDB didn't compile with valgrind
TokuDB uses USE_VALGRIND while MariaDB uses HAVE_valgrind Fixed by defining USE_VALGRIND in TokuDB if HAVE_valgrind is used
1 parent 12d5307 commit 76dc6af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage/tokudb/PerconaFT/portability/toku_race_tools.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
4040

4141
#include <portability/toku_config.h>
4242

43+
#ifdef HAVE_valgrind
44+
#undef USE_VALGRIND
45+
#define USE_VALGRIND 1
46+
#endif
47+
4348
#if defined(__linux__) && USE_VALGRIND
4449

4550
# include <valgrind/helgrind.h>

0 commit comments

Comments
 (0)