From 7eeaf0bb401e837773a1547dda2f31bc8bce9c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 21 Nov 2023 09:28:53 +0000 Subject: [PATCH] Use right port on set_testing-240-t.cpp --- test/tap/tests/set_testing-240-t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/tests/set_testing-240-t.cpp b/test/tap/tests/set_testing-240-t.cpp index b88e23141..5dd893d23 100644 --- a/test/tap/tests/set_testing-240-t.cpp +++ b/test/tap/tests/set_testing-240-t.cpp @@ -114,7 +114,7 @@ void * my_conn_thread(void *arg) { if (mysql==NULL) { exit(EXIT_FAILURE); } - int port = local ? 0 : ( cl.mysql_port + rand()%multiport ); + int port = local ? 0 : ( cl.port + rand()%multiport ); MYSQL *rc=mysql_real_connect(mysql, cl.mysql_host, cl.mysql_username, cl.mysql_password, schema, port, NULL, 0); if (rc==NULL) { if (silent==0) {