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

Fix for CONC-604 and CONC-605:

This patch fixes a crash when reconnectiong via TLS.
This commit is contained in:
Georg Richter
2022-07-18 11:41:46 +02:00
parent dac298de61
commit 9a572bc548
8 changed files with 72 additions and 67 deletions

View File

@@ -73,6 +73,13 @@ if (IS_SKYSQL(hostname)) \
#define SKIP_NOTLS
#endif
#define SKIP_TLS \
if (force_tls)\
{\
diag("Test doesn't work with TLS");\
return SKIP;\
}
MYSQL *mysql_default = NULL; /* default connection */
#define IS_MAXSCALE()\