diff options
author | Monty <monty@mariadb.org> | 2018-02-10 14:27:06 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-02-10 14:32:24 +0200 |
commit | 76dc6af24c8cc70eba42c11d0eb36e64b739f3b7 (patch) | |
tree | b05b5c77223e1044f2a245a0f84a4a50149f31a3 /storage | |
parent | 12d5307e95687e543f80aa3e8636a2ab8b96fe8d (diff) | |
download | mariadb-git-76dc6af24c8cc70eba42c11d0eb36e64b739f3b7.tar.gz |
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
Diffstat (limited to 'storage')
-rw-r--r-- | storage/tokudb/PerconaFT/portability/toku_race_tools.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/tokudb/PerconaFT/portability/toku_race_tools.h b/storage/tokudb/PerconaFT/portability/toku_race_tools.h index 8482a164fb8..9ed46ec909d 100644 --- a/storage/tokudb/PerconaFT/portability/toku_race_tools.h +++ b/storage/tokudb/PerconaFT/portability/toku_race_tools.h @@ -40,6 +40,11 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. #include <portability/toku_config.h> +#ifdef HAVE_valgrind +#undef USE_VALGRIND +#define USE_VALGRIND 1 +#endif + #if defined(__linux__) && USE_VALGRIND # include <valgrind/helgrind.h> |