1--source include/not_embedded.inc
2--source include/have_binlog_format_mixed.inc
3--source include/master-slave.inc
4
5#
6# BUG#13427949: CHANGE MASTER TO USER='' (EMPTY USER) CAUSES ERRORS ON VALGRING
7#
8
9--connection slave
10call mtr.add_suppression(".*Invalid .* username when attempting to connect to the master server.*");
11
12
13# Assert that we disallow empty users and that no problem
14--source include/stop_slave.inc
15CHANGE MASTER TO MASTER_USER= '', MASTER_PASSWORD= '';
16START SLAVE;
17--let $slave_io_errno= 1045, 1593
18--source include/wait_for_slave_io_error.inc
19--source include/stop_slave.inc
20
21CHANGE MASTER TO MASTER_USER= 'root', MASTER_PASSWORD= '';
22START SLAVE;
23
24--source include/rpl_end.inc
25