mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-19 02:05:23 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
15
t/pt-table-checksum/samples/checksum_tbl_truncated.sql
Normal file
15
t/pt-table-checksum/samples/checksum_tbl_truncated.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
CREATE DATABASE IF NOT EXISTS test;
|
||||
USE test;
|
||||
DROP TABLE IF EXISTS checksum;
|
||||
CREATE TABLE checksum (
|
||||
db char(64) NOT NULL,
|
||||
tbl char(64) NOT NULL,
|
||||
chunk int NOT NULL,
|
||||
boundaries char(1) NOT NULL, -- should cause a truncation
|
||||
this_crc char(40) NOT NULL,
|
||||
this_cnt int NOT NULL,
|
||||
master_crc char(40) NULL,
|
||||
master_cnt int NULL,
|
||||
ts timestamp NOT NULL,
|
||||
PRIMARY KEY (db, tbl, chunk)
|
||||
);
|
Reference in New Issue
Block a user