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

Fix for connection test:

Test failed under mtr, since mtr doesn't run by default using
unix socket.
This commit is contained in:
Georg Richter
2024-12-20 11:59:53 +01:00
parent fd8bac4b78
commit 0d2d49eb26

View File

@@ -2460,8 +2460,8 @@ static int test_conc589(MYSQL *my)
mysql_options(mysql, MYSQL_OPT_RECONNECT, &reconnect);
if (!my_test_connect(mysql, hostname, NULL,
NULL, schema, port, socketname, CLIENT_REMEMBER_OPTIONS, 0))
if (!my_test_connect(mysql, hostname, username,
password, schema, port, socketname, CLIENT_REMEMBER_OPTIONS, 0))
{
diag("error: %s", mysql_error(mysql));
return FAIL;