| 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 |
| 10 |
call 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 |
| 15 |
CHANGE MASTER TO MASTER_USER= '', MASTER_PASSWORD= ''; |
| 16 |
START SLAVE; |
| 17 |
--let $slave_io_errno= 1045, 1593 |
| 18 |
--source include/wait_for_slave_io_error.inc |
| 19 |
--source include/stop_slave_sql.inc |
| 20 |
|
| 21 |
CHANGE MASTER TO MASTER_USER= 'root', MASTER_PASSWORD= ''; |
| 22 |
--source include/start_slave.inc |
| 23 |
|
| 24 |
--source include/rpl_end.inc |