diff options
author | Rafal Somla <rafal.somla@oracle.com> | 2011-09-16 14:35:25 +0200 |
---|---|---|
committer | Rafal Somla <rafal.somla@oracle.com> | 2011-09-16 14:35:25 +0200 |
commit | c388e9c49dd96b46c06033dbc476b42e75291f7f (patch) | |
tree | f2b1d94e13b15cc797993970246fe2b301baac26 /mysql-test/t/auth_rpl.test | |
parent | cb9e23bb30319c888b4d6ed37d5560357477e327 (diff) | |
download | mariadb-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.test | 4 |
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
|