summaryrefslogtreecommitdiff
path: root/storage/innobase/include/page0page.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/page0page.ic')
-rw-r--r--storage/innobase/include/page0page.ic2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/page0page.ic b/storage/innobase/include/page0page.ic
index 8604f088adf..16a2db3f4cc 100644
--- a/storage/innobase/include/page0page.ic
+++ b/storage/innobase/include/page0page.ic
@@ -134,7 +134,7 @@ inline void page_header_reset_last_insert(buf_block_t *block, mtr_t *mtr)
byte *b= my_assume_aligned<2>(&block->frame[field]);
if (mtr->write<2,mtr_t::OPT>(*block, b, 0U) &&
UNIV_LIKELY_NULL(block->page.zip.data))
- memcpy_aligned<2>(&block->page.zip.data[field], b, 2);
+ memset_aligned<2>(&block->page.zip.data[field], 0, 2);
}
/***************************************************************//**