mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-08 11:07:58 +00:00

* PT-2048 - pt-osc spans excessive connections to the replica when executing in the source The bug itself is fixed by PT-2160: 'fix tests for pt online schema change' * PT-2048 - pt-osc spans excessive connections to the replica when executing in the source Suggestions by Saikumar * PT-2048 - pt-osc spans excessive connections to the replica when executing in the source Typos in the test file
26 lines
1.2 KiB
SQL
26 lines
1.2 KiB
SQL
DROP DATABASE IF EXISTS test;
|
|
CREATE DATABASE test;
|
|
|
|
USE test;
|
|
|
|
DROP TABLE IF EXISTS `joinit`;
|
|
|
|
CREATE TABLE `joinit` (
|
|
`i` int(11) NOT NULL AUTO_INCREMENT,
|
|
`s` varchar(64) DEFAULT NULL,
|
|
`t` time NOT NULL,
|
|
`g` int(11) NOT NULL,
|
|
PRIMARY KEY (`i`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
INSERT INTO joinit VALUES (NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )));
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|
|
INSERT INTO joinit SELECT NULL, uuid(), time(now()), (FLOOR( 1 + RAND( ) *60 )) FROM joinit;
|