From 90e23ebe947d683b31ea1b78ad22270c7c728c2c Mon Sep 17 00:00:00 2001 From: "heikki@hundin.mysql.fi" <> Date: Sat, 19 Apr 2003 20:09:01 +0300 Subject: 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 | 3 --- 1 file changed, 3 deletions(-) (limited to 'innobase') 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); } -- cgit v1.2.1