Commit 1ba90cea authored by Daniel Black's avatar Daniel Black Committed by Sergei Golubchik

MDEV-9758: correct checksum on non-continious blocks

Error noted by Sergey Vojtovich.
parent 51a66299
...@@ -9830,8 +9830,8 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, ...@@ -9830,8 +9830,8 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables,
else else
{ {
row_crc= my_checksum(row_crc, checksum_start, checksum_length); row_crc= my_checksum(row_crc, checksum_start, checksum_length);
checksum_start= NULL; checksum_start= f->ptr;
checksum_length= 0; checksum_length= f->pack_length();
} }
} }
else else
......
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