From c11901b2d558da148515156c1977456a7e7951d0 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Fri, 8 Nov 2024 14:26:37 +0500 Subject: [PATCH] Fixed TAP test --- test/tap/tests/pgsql-reg_test_4716_single_semicolon-t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/tests/pgsql-reg_test_4716_single_semicolon-t.cpp b/test/tap/tests/pgsql-reg_test_4716_single_semicolon-t.cpp index 09d19a0b3..5af19a747 100644 --- a/test/tap/tests/pgsql-reg_test_4716_single_semicolon-t.cpp +++ b/test/tap/tests/pgsql-reg_test_4716_single_semicolon-t.cpp @@ -23,7 +23,7 @@ enum ConnType { PGconn* createNewConnection(ConnType conn_type, bool with_ssl) { std::stringstream ss; const char* host = (conn_type == BACKEND) ? cl.pgsql_host : cl.admin_host; - int port = (conn_type == BACKEND) ? cl.pgsql_port : cl.admin_port; + int port = (conn_type == BACKEND) ? cl.pgsql_port : cl.pgsql_admin_port; const char* username = (conn_type == BACKEND) ? cl.pgsql_username : cl.admin_username; const char* password = (conn_type == BACKEND) ? cl.pgsql_password : cl.admin_password;