1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-6769 DROP TRIGGER IF NOT EXIST binlogged on master but not on slave

don't return from DROP TRIGGER IF NOT EXISTS on the slave side
early when the trigger couldn't be read
This commit is contained in:
Sergei Golubchik
2015-02-21 10:43:27 +01:00
parent b739103f12
commit 0ba168020e
3 changed files with 32 additions and 4 deletions

View File

@@ -532,6 +532,19 @@ connection master;
drop table t1, log;
sync_slave_with_master;
#
# MDEV-6769 DROP TRIGGER IF NOT EXIST binlogged on master but not on slave
#
let $slave_pos= query_get_value(SHOW MASTER STATUS, Position, 1);
connection master;
let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1);
drop trigger if exists notexistent;
source include/show_binlog_events.inc;
sync_slave_with_master;
let $binlog_start= $slave_pos;
source include/show_binlog_events.inc;
connection master;
#
# End of tests
#