summaryrefslogtreecommitdiff
path: root/mysql-test/t/auth_rpl-master.opt
diff options
context:
space:
mode:
authorRafal Somla <rafal.somla@oracle.com>2011-09-14 16:10:18 +0200
committerRafal Somla <rafal.somla@oracle.com>2011-09-14 16:10:18 +0200
commit93f2daf3ad75562a6a173a032668a6e0556684b5 (patch)
treeaadee2ac972792c03350f5f834e8cee27f2d8c52 /mysql-test/t/auth_rpl-master.opt
parent3d6fc1711c8bff76c9bb848d4e06cdd2c2176e64 (diff)
downloadmariadb-git-93f2daf3ad75562a6a173a032668a6e0556684b5.tar.gz
Bug#12897501 REPLICATION DOES NOT SUPPORT WINDOWS AUTH PLUG-IN
Connection of slave to master using a replication account which authenticates with an external plugin was not possible. Fixed by making sure that the CLIENT_PLUGIN_AUTH capability is set when client connects using mysql_real_connect(). Also, a plugin-dir path used by client library to locate authentication plugins is set based on the analogous server setting. This is done in connect_to_master() function before a call to mysql_real_connect().
Diffstat (limited to 'mysql-test/t/auth_rpl-master.opt')
-rw-r--r--mysql-test/t/auth_rpl-master.opt2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/auth_rpl-master.opt b/mysql-test/t/auth_rpl-master.opt
new file mode 100644
index 00000000000..3536d102387
--- /dev/null
+++ b/mysql-test/t/auth_rpl-master.opt
@@ -0,0 +1,2 @@
+$PLUGIN_AUTH_OPT
+$PLUGIN_AUTH_LOAD