1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

Fix failing tests when server runs on a different machine

This commit is contained in:
Georg Richter
2024-06-10 13:19:49 +02:00
parent 5efe1e61e2
commit f97bb2e92e
5 changed files with 15 additions and 9 deletions

View File

@@ -156,6 +156,7 @@ static int async1(MYSQL *unused __attribute__((unused)))
mysql_options(&mysql, MYSQL_OPT_CONNECT_TIMEOUT, &default_timeout);
mysql_options(&mysql, MYSQL_OPT_WRITE_TIMEOUT, &default_timeout);
mysql_options(&mysql, MYSQL_READ_DEFAULT_GROUP, "myapp");
mysql_options(&mysql, MARIADB_OPT_SSL_FP, fingerprint);
if (force_tls)
mysql_ssl_set(&mysql, NULL, NULL, NULL, NULL,NULL);