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:
Carlos Salguero
2021-11-03 13:53:30 -03:00
committed by GitHub
parent 951a333c81
commit c5a22407a7
7 changed files with 139 additions and 17 deletions

View 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');