From 32addee3fcce97c770942175c7e9b93cd25eb561 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Fri, 20 Dec 2024 06:14:02 +0100 Subject: [PATCH] Test case fix: Don't connect with anonymous user, since mtr doesn't run with unix_sockets by default. --- unittest/libmariadb/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittest/libmariadb/connection.c b/unittest/libmariadb/connection.c index 5d5ff542..01915309 100644 --- a/unittest/libmariadb/connection.c +++ b/unittest/libmariadb/connection.c @@ -2347,8 +2347,8 @@ static int test_conc748(MYSQL *my __attribute__((unused))) mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL); mysql_optionsv(mysql, MYSQL_OPT_SSL_CIPHER, ciphers[i]); - if (!my_test_connect(mysql, hostname, NULL, - NULL, schema, port, socketname, 0)) + if (!my_test_connect(mysql, hostname, username, + password, schema, port, socketname, 0)) { diag("error: %s", mysql_error(mysql)); return FAIL;