mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
25 lines
481 B
Text
25 lines
481 B
Text
#
|
|
# Bug#20821: INSERT DELAYED fails to write some rows to binlog
|
|
#
|
|
include/master-slave.inc
|
|
[connection master]
|
|
CREATE SCHEMA IF NOT EXISTS mysqlslap;
|
|
USE mysqlslap;
|
|
CREATE TABLE t1 (id INT, name VARCHAR(64)) ENGINE=MyISAM;
|
|
connection slave;
|
|
connection master;
|
|
SELECT COUNT(*) FROM mysqlslap.t1;
|
|
COUNT(*)
|
|
5000
|
|
connection slave;
|
|
SELECT COUNT(*) FROM mysqlslap.t1;
|
|
COUNT(*)
|
|
5000
|
|
#
|
|
# Cleanup
|
|
#
|
|
connection master;
|
|
USE test;
|
|
DROP SCHEMA mysqlslap;
|
|
connection slave;
|
|
include/rpl_end.inc
|