mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
abcd23add2
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
22 lines
611 B
Text
22 lines
611 B
Text
#
|
|
# CHANGE MASTER TO doesn't work with prepared statements
|
|
#
|
|
CHANGE MASTER TO MASTER_HOST='host1', MASTER_USER='user1';
|
|
# Master_Host : host1
|
|
# Master_User : user1
|
|
SET @s := "CHANGE MASTER TO MASTER_HOST='host2'";
|
|
PREPARE stmt FROM @s;
|
|
EXECUTE stmt;
|
|
DEALLOCATE PREPARE stmt;
|
|
# Master_Host : host2
|
|
# Master_User : user1
|
|
SET @s := "CHANGE MASTER TO MASTER_USER='user2'";
|
|
PREPARE stmt FROM @s;
|
|
EXECUTE stmt;
|
|
EXECUTE stmt;
|
|
EXECUTE stmt;
|
|
DEALLOCATE PREPARE stmt;
|
|
# Master_Host : host2
|
|
# Master_User : user2
|
|
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_USER='root', MASTER_SSL_VERIFY_SERVER_CERT=0;
|
|
# End of test
|