Files
percona-toolkit/t/pt-online-schema-change/samples/pt-2241.sql
PinoCao 91f9e27255 PT-2241 - fix(pt-online-schema-change): using --skip-check-slave-lag multiple times does not work as expected (#622)
* fix(pt-online-schema-change): Fix the issue where using --skip-check-slave-lag multiple times does not work as expected.

* PT-2241: add test cases for pt-online-schema-change

* Update t/pt-online-schema-change/pt-2241.t

fix():reset the delay on replicas

Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com>

---------

Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com>
2023-07-31 16:59:09 +03:00

12 lines
256 B
SQL

DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE test;
DROP TABLE IF EXISTS `pt2241`;
CREATE TABLE `pt2241` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tcol1` VARCHAR(30) DEFAULT '',
`tcol2` INT(11) DEFAULT 0,
PRIMARY KEY(id)
) ENGINE=InnoDB;