mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-9758: correct checksum on non-continious blocks
Error noted by Sergey Vojtovich.
This commit is contained in:
committed by
Sergei Golubchik
parent
51a66299f3
commit
1ba90cea25
@ -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
|
||||||
|
Reference in New Issue
Block a user