mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00

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.
12 lines
307 B
SQL
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');
|