From 5485acd470410dbbf56ee28e302644822e6e373f Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Fri, 20 Dec 2024 12:02:35 +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 5574557c..aaea1f8f 100644 --- a/unittest/libmariadb/connection.c +++ b/unittest/libmariadb/connection.c @@ -1981,8 +1981,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;