mariadb/mysql-test/suite/percona/percona_sync_flush.result

35 lines
1.2 KiB
Text

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (id INT AUTO_INCREMENT, foo CHAR(255), PRIMARY KEY (id)) ENGINE=InnoDB;
SET @@global.innodb_flush_checkpoint_debug=1;
INSERT INTO t1(foo) VALUES ('a'), ('b');
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
INSERT INTO t1(foo) SELECT foo FROM t1;
UPDATE t1 SET foo='c';
SET @@global.innodb_flush_checkpoint_debug=0;
UPDATE t1 SET foo='d' WHERE foo='c';
DROP TABLE t1;