mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-24 13:25:01 +00:00
PT-2016 pt-table-sync and CRC32 columns (#521)
* PT-2016 CRC32 on key * PT-2016 Added tests * Removed commented out line
This commit is contained in:
12
t/pt-table-sync/samples/pt-2016.sql
Normal file
12
t/pt-table-sync/samples/pt-2016.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
|
||||
CREATE DATABASE test;
|
||||
|
||||
CREATE TABLE test.test2 (
|
||||
col1 INT NOT NULL,
|
||||
col2 TEXT NOT NULL,
|
||||
col3 VARCHAR(5) NOT NULL,
|
||||
UNIQUE KEY (col1, col2(3))
|
||||
);
|
||||
|
||||
INSERT INTO test.test2 VALUES(1,'aaa','aaa');
|
Reference in New Issue
Block a user