Merge pull request #376 from percona/PT-157

PT-157 Specifying the index to use for pt-archiver ignores --primary-key-only
This commit is contained in:
Roma Novikov
2019-01-03 11:50:15 +02:00
committed by GitHub
4 changed files with 65 additions and 18 deletions

View File

@@ -0,0 +1,20 @@
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
CREATE TABLE `test`.`t1` (
f1 INT NOT NULL,
f2 VARCHAR(10)
) Engine=InnoDB;
INSERT INTO `test`.`t1` VALUES
(1, 'a'),
(2, 'b'),
(3, 'c'),
(4, 'd'),
(5, 'e'),
(6, 'f'),
(7, 'g'),
(8, 'h'),
(9, 'i'),
(10, 'j');