From 16131a7e46bb6c120b4e0ddb27b03c0bb7164928 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sat, 4 Sep 2021 20:24:37 +0200 Subject: [PATCH] MDEV-26527 speedup appveyor build Allow mysql_client_test to execute even if server/client auth plugins are not built. There is a single small test that requires qa_auth_client. --- mysql-test/main/mysql_client_test.test | 2 -- tests/mysql_client_test.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mysql-test/main/mysql_client_test.test b/mysql-test/main/mysql_client_test.test index 9fb7bcd81c9..bcb246a8a06 100644 --- a/mysql-test/main/mysql_client_test.test +++ b/mysql-test/main/mysql_client_test.test @@ -1,7 +1,5 @@ # This test should work in embedded server after we fix mysqltest -- source include/not_embedded.inc -# need to have the dynamic loading turned on for the client plugin tests ---source include/have_plugin_auth.inc # Run test with default character set --source include/default_charset.inc diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 9c18667614b..8f4e2b2fdad 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -19203,6 +19203,9 @@ static void test_bug11766854() struct st_mysql_client_plugin *plugin; DBUG_ENTER("test_bug11766854"); + if (!getenv("QA_AUTH_CLIENT_SO")) + DBUG_VOID_RETURN; + myheader("test_bug11766854"); plugin= mysql_load_plugin(mysql, "foo", -1, 0);