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/r/myisam.result | |
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/r/myisam.result')
-rw-r--r-- | mysql-test/r/myisam.result | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result index fd9ff2c90cf..ece89ca282d 100644 --- a/mysql-test/r/myisam.result +++ b/mysql-test/r/myisam.result @@ -394,6 +394,23 @@ id select_type table type possible_keys key key_len ref rows Extra drop table t1,t2; CREATE TABLE t1 (`a` int(11) NOT NULL default '0', `b` int(11) NOT NULL default '0', UNIQUE KEY `a` USING RTREE (`a`,`b`)) TYPE=MyISAM; ERROR 42000: This version of MySQL doesn't yet support 'RTREE INDEX' -DROP TABLE IF EXISTS t1; -Warnings: -Note 1051 Unknown table 't1' +create table t1 (a int, b varchar(200), c text not null) checksum=1; +create table t2 (a int, b varchar(200), c text not null) checksum=0; +insert t1 values (1, "aaa", "bbb"), (NULL, "", "ccccc"), (0, NULL, ""); +insert t2 select * from t1; +checksum table t1, t2, t3 quick; +Table Checksum +test.t1 968604391 +test.t2 NULL +test.t3 NULL +checksum table t1, t2, t3; +Table Checksum +test.t1 968604391 +test.t2 968604391 +test.t3 NULL +checksum table t1, t2, t3 extended; +Table Checksum +test.t1 968604391 +test.t2 968604391 +test.t3 NULL +drop table t1,t2; |