mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
univ.i:
If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings innobase/include/univ.i: If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings
This commit is contained in:
parent
480dbf0f30
commit
61e368438a
1 changed files with 9 additions and 0 deletions
|
|
@ -100,6 +100,15 @@ memory is read outside the allocated blocks. */
|
|||
|
||||
#define YYDEBUG 1
|
||||
|
||||
#ifdef HAVE_purify
|
||||
/* The following sets all new allocated memory to zero before use:
|
||||
this can be used to eliminate unnecessary Purify warnings, but note that
|
||||
it also masks many bugs Purify could detect. For detailed Purify analysis it
|
||||
is best to remove the define below and look through the warnings one
|
||||
by one. */
|
||||
#define UNIV_SET_MEM_TO_ZERO
|
||||
#endif
|
||||
|
||||
/*
|
||||
#define UNIV_SQL_DEBUG
|
||||
#define UNIV_LOG_DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue