summaryrefslogtreecommitdiff
path: root/innobase/buf
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-04-19 20:09:01 +0300
committerunknown <heikki@hundin.mysql.fi>2003-04-19 20:09:01 +0300
commit480dbf0f30b9d6f8673902173f414b51eff99a61 (patch)
tree212ced3cea5132fafc7a6d6e41955db26588c6a9 /innobase/buf
parentb09b7a1f198fa60702aeb6ce836562a9f0511c39 (diff)
downloadmariadb-git-480dbf0f30b9d6f8673902173f414b51eff99a61.tar.gz
buf0buf.c:
Do not set buffer pool to zero when we start up: that takes too much time for big buffer pools; Purify users must define UNIV_SET_MEM_TO_ZERO in univ.i to eliminate spurious (?) Purify warnings innobase/buf/buf0buf.c: Do not set buffer pool to zero when we start up: that takes too much time for big buffer pools; Purify users must define UNIV_SET_MEM_TO_ZERO in univ.i to eliminate spurious (?) Purify warnings
Diffstat (limited to 'innobase/buf')
-rw-r--r--innobase/buf/buf0buf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/innobase/buf/buf0buf.c b/innobase/buf/buf0buf.c
index bbce52f0b00..82a2d19695a 100644
--- a/innobase/buf/buf0buf.c
+++ b/innobase/buf/buf0buf.c
@@ -480,9 +480,6 @@ buf_pool_create(
block = buf_pool_get_nth_block(buf_pool, i);
- /* Wipe contents of page to eliminate a Purify warning */
- memset(block->frame, '\0', UNIV_PAGE_SIZE);
-
UT_LIST_ADD_FIRST(free, buf_pool->free, block);
}