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:
@@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user