2006-09-21 13:04:33 +02:00
|
|
|
#
|
|
|
|
# Bug#20821: INSERT DELAYED fails to write some rows to binlog
|
|
|
|
#
|
2006-07-05 16:58:56 +02:00
|
|
|
stop slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
start slave;
|
|
|
|
CREATE SCHEMA IF NOT EXISTS mysqlslap;
|
|
|
|
USE mysqlslap;
|
|
|
|
CREATE TABLE t1 (id INT, name VARCHAR(64));
|
|
|
|
SELECT COUNT(*) FROM mysqlslap.t1;
|
|
|
|
COUNT(*)
|
2006-07-08 06:15:24 +02:00
|
|
|
5000
|
2006-07-05 16:58:56 +02:00
|
|
|
SELECT COUNT(*) FROM mysqlslap.t1;
|
|
|
|
COUNT(*)
|
2006-07-08 06:15:24 +02:00
|
|
|
5000
|
2006-09-21 13:04:33 +02:00
|
|
|
#
|
|
|
|
# Cleanup
|
|
|
|
#
|
|
|
|
USE test;
|
|
|
|
DROP SCHEMA mysqlslap;
|