From 1ba90cea257a827e1fb6af3b33c3f93013aa7572 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 21 Mar 2016 08:58:39 +1100 Subject: [PATCH] MDEV-9758: correct checksum on non-continious blocks Error noted by Sergey Vojtovich. --- sql/sql_table.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 1a7e55ab1d4..30a076c7e69 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -9830,8 +9830,8 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, else { row_crc= my_checksum(row_crc, checksum_start, checksum_length); - checksum_start= NULL; - checksum_length= 0; + checksum_start= f->ptr; + checksum_length= f->pack_length(); } } else