Files
percona-toolkit/t/pt-online-schema-change/samples/pt-1717.sql
Sveta Smirnova 2d4f5c290a PT-1717 - resume pt-online-schema-change if it's interrupted
- Now --resume dies if new table or triggers do not exist
- New table and triggers are not removed if --resume fails during these
  checkups
- Added sample file and more tests for --resume
2024-03-14 21:20:50 +03:00

16 lines
383 B
SQL

DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE test;
DROP TABLE IF EXISTS `pt1717`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pt1717` (
`id` int(11) NOT NULL AUTO_INCREMENT,
f1 VARCHAR(30) DEFAULT '',
f2 BIGINT(11) DEFAULT 0,
PRIMARY KEY(id),
KEY(f2),
KEY(f1, f2)
) ENGINE=InnoDB;