summaryrefslogtreecommitdiff
path: root/mysql-test/t/auth_rpl.test
diff options
context:
space:
mode:
authorRafal Somla <rafal.somla@oracle.com>2011-09-16 14:35:25 +0200
committerRafal Somla <rafal.somla@oracle.com>2011-09-16 14:35:25 +0200
commitc388e9c49dd96b46c06033dbc476b42e75291f7f (patch)
treef2b1d94e13b15cc797993970246fe2b301baac26 /mysql-test/t/auth_rpl.test
parentcb9e23bb30319c888b4d6ed37d5560357477e327 (diff)
downloadmariadb-git-c388e9c49dd96b46c06033dbc476b42e75291f7f.tar.gz
Update of auth_rpl test.
For some reason the test authentication plugin accepted connection with arbitrary password. But the intention of the plugin is that password should equal to the authentication string and in the later versions of the server connection fails if password is wrong. So I have updated auth_rpl test to specify the correct password.
Diffstat (limited to 'mysql-test/t/auth_rpl.test')
-rw-r--r--mysql-test/t/auth_rpl.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/t/auth_rpl.test b/mysql-test/t/auth_rpl.test
index 9947d463acd..c413a84b53c 100644
--- a/mysql-test/t/auth_rpl.test
+++ b/mysql-test/t/auth_rpl.test
@@ -27,7 +27,9 @@ FLUSH PRIVILEGES;
--connection slave
--echo [connection slave]
--let $master_user= query_get_value(SHOW SLAVE STATUS, Master_User, 1)
-CHANGE MASTER TO MASTER_USER= 'plug_user';
+CHANGE MASTER TO
+ MASTER_USER= 'plug_user',
+ MASTER_PASSWORD= 'plug_user';
#
# Start slave with new replication account - this should trigger connection