diff options
author | heikki@hundin.mysql.fi <> | 2003-04-19 20:09:01 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2003-04-19 20:09:01 +0300 |
commit | 90e23ebe947d683b31ea1b78ad22270c7c728c2c (patch) | |
tree | 212ced3cea5132fafc7a6d6e41955db26588c6a9 /innobase | |
parent | e1b68cf1118026dbd5f1d5c5f289bd60cf129770 (diff) | |
download | mariadb-git-90e23ebe947d683b31ea1b78ad22270c7c728c2c.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
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/buf/buf0buf.c | 3 |
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); } |