summaryrefslogtreecommitdiff
path: root/storage/maria/ma_pagecrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_pagecrc.c')
-rw-r--r--storage/maria/ma_pagecrc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/maria/ma_pagecrc.c b/storage/maria/ma_pagecrc.c
index 698cc8b95e0..f573ba132d2 100644
--- a/storage/maria/ma_pagecrc.c
+++ b/storage/maria/ma_pagecrc.c
@@ -305,6 +305,10 @@ my_bool maria_page_filler_set_none(uchar *page __attribute__((unused)),
__attribute__((unused)),
uchar *data_ptr __attribute__((unused)))
{
+#ifdef HAVE_purify
+ int4store_aligned(page + ((MARIA_SHARE *)data_ptr)->block_size - CRC_SIZE,
+ 0);
+#endif
return 0;
}