Files
percona-toolkit/t/pt-online-schema-change/samples/pt-2407.sql
Sveta Smirnova 88367c1dea PT-2407 - pt-online-schema-change exit status(return code) is 0 even if it does NOT succeed
- Changed die call for the case when ALTER TABLE fails for the new table
- Removed stalled comment from Frank
- Added test case
2025-03-26 17:51:35 +03:00

13 lines
218 B
SQL

CREATE DATABASE pt_2407;
USE pt_2407;
CREATE TABLE t1 (
c1 int NOT NULL,
c2 varchar(100) NOT NULL,
PRIMARY KEY (c1),
KEY idx (c2)
) ENGINE=InnoDB;
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);