mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
PT-116 Added --[no]use-insert-ignore
This commit is contained in:
10
t/pt-online-schema-change/samples/pt-116.sql
Normal file
10
t/pt-online-schema-change/samples/pt-116.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE SCHEMA IF NOT EXISTS test;
|
||||
|
||||
DROP TABLE IF EXISTS test.t1;
|
||||
|
||||
CREATE TABLE test.t1 (
|
||||
id TINYINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
|
||||
notunique VARCHAR(200) NOT NULL
|
||||
);
|
||||
|
||||
INSERT INTO test.t1(notunique) VALUES('test01'),('test01'),('test02');
|
||||
Reference in New Issue
Block a user