You've already forked mariadb-connector-c
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user