mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
CHECKSUM TABLE table1, table2, ... [ QUICK | EXTENDED ]
myisam/mi_checksum.c: workaround for zlib's crc32 glitch mysql-test/r/show_check.result: results updated mysys/checksum.c: switching to crc32 as a checksum algorithm
This commit is contained in:
parent
710d4f140a
commit
4a21b30e47
11 changed files with 138 additions and 28 deletions
|
|
@ -50,7 +50,7 @@ ha_checksum mi_checksum(MI_INFO *info, const byte *buf)
|
|||
pos=buf;
|
||||
break;
|
||||
}
|
||||
crc=my_checksum(crc, pos, length);
|
||||
crc=my_checksum(crc, pos ? pos : "", length);
|
||||
}
|
||||
return crc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue