mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 01:33:14 +00:00
PT-157 Specifying the index to use for pt-archiver ignores --primary-key-only
This commit is contained in:
20
t/pt-archiver/samples/pt_157.sql
Normal file
20
t/pt-archiver/samples/pt_157.sql
Normal 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');
|
||||
|
Reference in New Issue
Block a user