mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
InnoDB: Enable UNIV_DEBUG_VALGRIND for cmake -DWITH_VALGRIND
The symbol HAVE_VALGRIND_MEMCHECK_H was never defined. Instead, the symbol HAVE_VALGRIND should have been used.
This commit is contained in:
parent
f516db3500
commit
833fda8f1a
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2013, 2017, MariaDB Corporation.
|
||||
Copyright (c) 2008, Google Inc.
|
||||
|
||||
Portions of this file contain modifications contributed and copyrighted by
|
||||
|
@ -171,7 +172,7 @@ command. Not tested on Windows. */
|
|||
#define UNIV_COMPILE_TEST_FUNCS
|
||||
*/
|
||||
|
||||
#if defined(HAVE_valgrind)&& defined(HAVE_VALGRIND_MEMCHECK_H)
|
||||
#if defined HAVE_valgrind && defined HAVE_VALGRIND
|
||||
# define UNIV_DEBUG_VALGRIND
|
||||
#endif /* HAVE_VALGRIND */
|
||||
#if 0
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2013, 2017, MariaDB Corporation.
|
||||
Copyright (c) 2008, Google Inc.
|
||||
|
||||
Portions of this file contain modifications contributed and copyrighted by
|
||||
|
@ -183,7 +184,7 @@ command. Not tested on Windows. */
|
|||
#define UNIV_COMPILE_TEST_FUNCS
|
||||
*/
|
||||
|
||||
#if defined(HAVE_valgrind)&& defined(HAVE_VALGRIND_MEMCHECK_H)
|
||||
#if defined HAVE_valgrind && defined HAVE_VALGRIND
|
||||
# define UNIV_DEBUG_VALGRIND
|
||||
#endif
|
||||
#if 0
|
||||
|
|
Loading…
Reference in a new issue