diff options
author | Daniel Black <daniel.black@au.ibm.com> | 2016-03-21 08:58:39 +1100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-04-29 18:41:00 +0200 |
commit | 1ba90cea257a827e1fb6af3b33c3f93013aa7572 (patch) | |
tree | d8150462f95abf3b5ff1eb70efbb29ace984438e /sql/sql_table.cc | |
parent | 51a66299f3f34947baee2cf39fc9c25f01baab19 (diff) | |
download | mariadb-git-1ba90cea257a827e1fb6af3b33c3f93013aa7572.tar.gz |
MDEV-9758: correct checksum on non-continious blocks
Error noted by Sergey Vojtovich.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 4 |
1 files 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 |