diff options
Diffstat (limited to 'mysql-test/suite/multi_source/multisource.test')
-rw-r--r-- | mysql-test/suite/multi_source/multisource.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/multi_source/multisource.test b/mysql-test/suite/multi_source/multisource.test index 7a9ee166ec2..4938a0142d1 100644 --- a/mysql-test/suite/multi_source/multisource.test +++ b/mysql-test/suite/multi_source/multisource.test @@ -8,6 +8,15 @@ --connect (slave,127.0.0.1,root,,,$SERVER_MYPORT_3) +# MDEV-3984: crash/read of freed memory when changing master with named connection +# This fails after adding the new master 'abc', check we do not free twice. +--error ER_RELAY_LOG_INIT +change master 'abc' to relay_log_file=''; +# This fails before adding the new master, check that we do free it. +--error ER_WRONG_ARGUMENTS +change master 'abc2' to master_host=''; + + # Start replication from the first master --replace_result $SERVER_MYPORT_1 MYPORT_1 |