1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-9758: correct checksum on non-continious blocks

Error noted by Sergey Vojtovich.
This commit is contained in:
Daniel Black
2016-03-21 08:58:39 +11:00
committed by Sergei Golubchik
parent 51a66299f3
commit 1ba90cea25

View File

@ -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