mirror of
https://github.com/MariaDB/server.git
synced 2025-02-22 05:13:08 +01:00

enable ssl + ssl_verify_server_cert in the internal client too * fix replication tests to disable master_ssl_verify_server_cert because accounts are passwordless - except rpl.rpl_ssl1 * fix federated/federatedx/connect to disable SSL_VERIFY_SERVER_CERT because they cannot configure an ssl connection * fix spider to disable ssl_verify_server_cert, if configuration says so, as spider _can_ configure an ssl connection * memory leak in embedded test-connect
24 lines
720 B
Text
24 lines
720 B
Text
--source include/not_embedded.inc
|
|
--source include/have_binlog_format_mixed.inc
|
|
--source include/master-slave.inc
|
|
|
|
#
|
|
# BUG#13427949: CHANGE MASTER TO USER='' (EMPTY USER) CAUSES ERRORS ON VALGRING
|
|
#
|
|
|
|
--connection slave
|
|
call mtr.add_suppression(".*Invalid .* username when attempting to connect to the master server.*");
|
|
|
|
|
|
# Assert that we disallow empty users and that no problem
|
|
--source include/stop_slave.inc
|
|
CHANGE MASTER TO MASTER_USER= '', MASTER_PASSWORD= '';
|
|
START SLAVE;
|
|
--let $slave_io_errno= 1045, 1593
|
|
--source include/wait_for_slave_io_error.inc
|
|
--source include/stop_slave_sql.inc
|
|
|
|
CHANGE MASTER TO MASTER_USER= 'root', MASTER_PASSWORD= '';
|
|
--source include/start_slave.inc
|
|
|
|
--source include/rpl_end.inc
|