mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
21 lines
579 B
Text
21 lines
579 B
Text
|
DROP TABLE IF EXISTS t1,t2;
|
||
|
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=1;
|
||
|
INSERT INTO t1 (a,b) VALUES (1,'a'),(2,'b');
|
||
|
CREATE TABLE t2 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=1;
|
||
|
CHECKSUM TABLE t1;
|
||
|
Table Checksum
|
||
|
test.t1 4272806499
|
||
|
CHECKSUM TABLE t2, t1;
|
||
|
Table Checksum
|
||
|
test.t2 0
|
||
|
test.t1 4272806499
|
||
|
CHECKSUM TABLE t1, t2 QUICK;
|
||
|
Table Checksum
|
||
|
test.t1 4272806499
|
||
|
test.t2 0
|
||
|
CHECKSUM TABLE t1, t2 EXTENDED;
|
||
|
Table Checksum
|
||
|
test.t1 4272806499
|
||
|
test.t2 0
|
||
|
DROP TABLE t1, t2;
|