1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Test case fix:

Don't connect with anonymous user, since mtr doesn't run with
unix_sockets by default.
This commit is contained in:
Georg Richter
2024-12-20 06:14:02 +01:00
parent 2fd03c8242
commit 32addee3fc

View File

@@ -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;