Skip to content

Commit

Permalink
Fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yashwantsahu20 committed Nov 12, 2024
1 parent 6cc0358 commit 7bf71dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/tests/pgsql-query_cache_soft_ttl_pct-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ enum ConnType {

PGconn* createNewConnection(ConnType conn_type, bool with_ssl) {
std::stringstream ss;
const char* host = (conn_type == BACKEND) ? cl.pgsql_host : cl.pgsql_admin_port;
const char* host = (conn_type == BACKEND) ? cl.pgsql_host : cl.pgsql_admin_host;
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;
Expand Down

0 comments on commit 7bf71dd

Please sign in to comment.