diff options
author | unknown <serg@serg.mylan> | 2003-09-03 11:34:32 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-09-03 11:34:32 +0200 |
commit | 4a21b30e47cfb2905ac1e6a3e9a220164067b595 (patch) | |
tree | 0dfea7caf86829a5356d14fbd291804272da2deb /mysql-test/t/innodb.test | |
parent | 710d4f140a3c0f292f964cc5acc93a9a96318f69 (diff) | |
download | mariadb-git-4a21b30e47cfb2905ac1e6a3e9a220164067b595.tar.gz |
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
Diffstat (limited to 'mysql-test/t/innodb.test')
-rw-r--r-- | mysql-test/t/innodb.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test index cd3a5693535..72a791b263c 100644 --- a/mysql-test/t/innodb.test +++ b/mysql-test/t/innodb.test @@ -920,3 +920,15 @@ replace delayed into t1 (c1, c2) values ( "text1","12"),( "text2","13"),( "text select * from t1; drop table t1; +create table t1 (a int, b varchar(200), c text not null) checksum=1 type=myisam; +create table t2 (a int, b varchar(200), c text not null) checksum=0 type=innodb; +create table t3 (a int, b varchar(200), c text not null) checksum=1 type=innodb; +insert t1 values (1, "aaa", "bbb"), (NULL, "", "ccccc"), (0, NULL, ""); +insert t2 select * from t1; +insert t3 select * from t1; +checksum table t1, t2, t3, t4 quick; +checksum table t1, t2, t3, t4; +checksum table t1, t2, t3, t4 extended; +#show table status; +drop table t1,t2,t3; + |