You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Test fix:
use mysql_real_connect instead of my_test_connect for unix_socket test to reduce diagnostic output from my_test_connect function.
This commit is contained in:
@@ -1079,7 +1079,7 @@ static int test_unix_socket_close(MYSQL *unused __attribute__((unused)))
|
|||||||
|
|
||||||
for (i=0; i < 10000; i++)
|
for (i=0; i < 10000; i++)
|
||||||
{
|
{
|
||||||
my_test_connect(mysql, "localhost", "user", "passwd", NULL, 0, "./dummy_sock", 0);
|
mysql_real_connect(mysql, "localhost", "user", "passwd", NULL, 0, "./dummy_sock", 0);
|
||||||
/* check if we run out of sockets */
|
/* check if we run out of sockets */
|
||||||
if (mysql_errno(mysql) == 2001)
|
if (mysql_errno(mysql) == 2001)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user