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:
unknown 2003-09-03 11:34:32 +02:00
commit 4a21b30e47
11 changed files with 138 additions and 28 deletions

View file

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