summaryrefslogtreecommitdiff
path: root/mysql-test/t/plugin_auth.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-07-15 12:46:54 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2019-07-15 12:46:54 +0200
commitd9dc15a18bb88966a8435f6fc56342085cd54c9c (patch)
tree0835fcbbadfbe414c9cbd7d527f88054c33ad42d /mysql-test/t/plugin_auth.test
parentb2cc61296481d54cc694ff62a9ee44d1f28d19bb (diff)
downloadmariadb-git-bb-10.2-MDEV-20055.tar.gz
fix plugin test as it is in 10.4 with new clientbb-10.2-MDEV-20055
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);