summaryrefslogtreecommitdiff
path: root/mysql-test/t/plugin_auth.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-07-12 16:44:39 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2019-07-20 09:09:28 +0200
commite2bbb6f5e9b766d4ab91bcdef895414bedd00bc4 (patch)
tree21498a81e1b6d5be62125658f761575276e98314 /mysql-test/t/plugin_auth.test
parent731ef751758e3267745bfce582a3692115753289 (diff)
downloadmariadb-git-e2bbb6f5e9b766d4ab91bcdef895414bedd00bc4.tar.gz
switch to CC 3.1
Diffstat (limited to 'mysql-test/t/plugin_auth.test')
-rw-r--r--mysql-test/t/plugin_auth.test10
1 files changed, 4 insertions, 6 deletions
diff --git a/mysql-test/t/plugin_auth.test b/mysql-test/t/plugin_auth.test
index c3c18b7e427..1700a755492 100644
--- a/mysql-test/t/plugin_auth.test
+++ b/mysql-test/t/plugin_auth.test
@@ -45,13 +45,11 @@ disconnect plug_con;
connect(plug_con,localhost,plug,bad_credentials);
--enable_query_log
---echo ## test bad default plugin : should get CR_AUTH_PLUGIN_CANNOT_LOAD
---disable_result_log
---disable_query_log
---error 2059
+--echo ## test bad default plugin : nothing bad happens, as that plugin was't required by the server
connect(plug_con_wrongp,localhost,plug,plug_dest,,,,,wrong_plugin_name);
---enable_query_log
---enable_result_log
+select USER(),CURRENT_USER();
+connection default;
+disconnect plug_con_wrongp;
--echo ## test correct default plugin
connect(plug_con_rightp,localhost,plug,plug_dest,,,,,auth_test_plugin);