Files
percona-toolkit/t/pt-table-checksum/samples/issue_94.sql
Carlos Salguero d9142df0f6 PT-1551 New wait for master method to pt-table-checksum
This is part of PT-1554. While I was testing pt-table-checksum
ignore_columns.t was failing and it was because the original method in
pt-table-checksum to wait for the slaves to catch up, wasn't enough.
I added a new method who calls MySQL's SELECT MASTER_POS_WAIT from the
MasterSlave package.
2018-06-22 13:00:41 -03:00

12 lines
307 B
SQL

CREATE DATABASE IF NOT EXISTS test;
USE test;
DROP TABLE IF EXISTS `issue_94`;
CREATE TABLE `issue_94` (
a INT NOT NULL,
b INT NOT NULL,
c CHAR(16) NOT NULL,
INDEX idx (a)
);
INSERT INTO issue_94 VALUES (1,2,'apple'),(3,4,'banana'),(5,6,'kiwi'),(7,8,'orange'),(9,10,'grape'),(11,12,'coconut');