1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

More test fixes

This commit is contained in:
Georg Richter
2021-06-24 12:48:16 +02:00
parent 47df15edb6
commit 353e99fba1
3 changed files with 10 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ static int test_conc_173(MYSQL *unused __attribute__((unused)))
mysql_options(&mysql, MYSQL_OPT_PROTOCOL, &arg);
if(!mysql_real_connect(&mysql, hostname, username, password, schema, 0, 0, 0)) {
if(!mysql_real_connect(&mysql, hostname, username, password, schema, port, 0, 0)) {
fprintf(stderr, "Failed to connect to database after %d iterations: Error: %s\n", i, mysql_error(&mysql));
return 1;
}