blob: 02d70491fa9ea8b18c6c473ba3ff3a326798f0eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
DROP TABLE IF EXISTS t1,t2;
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> CHECKSUM=0;
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=0;
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 NULL
test.t2 NULL
CHECKSUM TABLE t1, t2 EXTENDED;
Table Checksum
test.t1 4272806499
test.t2 0
DROP TABLE t1, t2;
|