summaryrefslogtreecommitdiff
path: root/storage/maria/ma_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_check.c')
-rw-r--r--storage/maria/ma_check.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c
index d8c553a3173..cee1e7a9b65 100644
--- a/storage/maria/ma_check.c
+++ b/storage/maria/ma_check.c
@@ -164,10 +164,11 @@ int maria_chk_del(HA_CHECK *param, register MARIA_HA *info,
LINT_INIT(old_link);
+ param->record_checksum=0;
+
if (share->data_file_type == BLOCK_RECORD)
DBUG_RETURN(0); /* No delete links here */
- param->record_checksum=0;
delete_link_length=((share->options & HA_OPTION_PACK_RECORD) ? 20 :
share->rec_reflength+1);