Commit 8030ac37 authored by marko's avatar marko

branches/zip: trx_sys_create_doublewrite_buf(): Revert the change of r1208.

We cannot clear the page with memset(), because the page number and
tablespace id have already been stamped on it.
parent e7d8e537
......@@ -275,9 +275,6 @@ trx_sys_create_doublewrite_buf(void)
SYNC_NO_ORDER_CHECK);
#endif /* UNIV_SYNC_DEBUG */
/* Avoid writing uninitialized memory to disk. */
memset(new_block->frame, 0, UNIV_PAGE_SIZE);
/* Make a dummy change to the page to ensure it will
be written to disk in a flush */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment