Skip to content

Commit

Permalink
Updated TAP test to use cl.host instead of cl.mysql_host
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Mar 28, 2024
1 parent 73a59f1 commit 0a00083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tap/tests/reg_test_3371_prepared_statement_crash-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ int main(int argc, char** argv) {
}

// Connecting to ProxySQL
diag("Connecting to '%s@%s:%d'", cl.mysql_username, cl.mysql_host, cl.port);
if (!mysql_real_connect(mysql, cl.mysql_host, cl.mysql_username, cl.mysql_password, NULL, cl.port, NULL, 0)) {
diag("Connecting to '%s@%s:%d'", cl.mysql_username, cl.host, cl.port);
if (!mysql_real_connect(mysql, cl.host, cl.mysql_username, cl.mysql_password, NULL, cl.port, NULL, 0)) {
fprintf(stderr, "File %s, line %d, Error: %s\n", __FILE__, __LINE__, mysql_error(mysql));
return exit_status();
}
Expand Down

0 comments on commit 0a00083

Please sign in to comment.