summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-09-20 21:14:49 +0300
committerunknown <heikki@donna.mysql.fi>2001-09-20 21:14:49 +0300
commitb596c41a87f755a91bb13072255edf4eb8b47695 (patch)
treec5f3169a16730cdcddfe75ef70f65bb821b6e7f9
parent96bfd6e984697798982692979754931cf25cd707 (diff)
downloadmariadb-git-b596c41a87f755a91bb13072255edf4eb8b47695.tar.gz
univ.i Changes to eliminate unnecessary Purify warnings (documentation of flag UNIV_SET_MEM_TO_ZERO)
innobase/include/univ.i: Changes to eliminate unnecessary Purify warnings (documentation of flag UNIV_SET_MEM_TO_ZERO)
-rw-r--r--innobase/include/univ.i8
1 files changed, 6 insertions, 2 deletions
diff --git a/innobase/include/univ.i b/innobase/include/univ.i
index f3e3b22bb3d..9fc9f85f633 100644
--- a/innobase/include/univ.i
+++ b/innobase/include/univ.i
@@ -61,8 +61,12 @@ subdirectory of 'mysql'. */
/* DEBUG VERSION CONTROL
===================== */
+/* The following flag will make InnoDB to initialize
+all memory it allocates to zero. It hides Purify
+warnings about reading unallocated memory unless
+memory is read outside the allocated blocks. */
/*
-#define UNIV_SYNC_DEBUG
+#define UNIV_INIT_MEM_TO_ZERO
*/
/* Make a non-inline debug version */
@@ -72,7 +76,7 @@ subdirectory of 'mysql'. */
#define UNIV_SEARCH_DEBUG
#define UNIV_IBUF_DEBUG
-
+#define UNIV_SYNC_DEBUG
#define UNIV_SYNC_PERF_STAT
#define UNIV_SEARCH_PERF_STAT
*/