Files
percona-toolkit/t/pt-online-schema-change/samples/pt-153.sql
Carlos Salguero 9ef2b56f4d PT-1905 Reverse triggers (#477)
* PT-1905 Reverse triggers

* WIP

* PT-1905 Updated reverse triggers creation

* PT-1905 Fixed trigger creation
2021-01-12 13:58:34 -03:00

19 lines
268 B
SQL

DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE test;
CREATE TABLE test.t1 (
id int AUTO_INCREMENT PRIMARY KEY,
f2 int,
f3 int NULL,
f4 int
);
INSERT INTO test.t1 VALUES
(1,1,1,1),
(2,1,1,1),
(3,1,2,1),
(4,2,NULL,2),
(5,3,NULL,2),
(6,4,4,4),
(7,4,4,4);