Fix wrong writing of TLS protocol version. See https://www.heidisql.com/forum.php?t=27158#p27211

This commit is contained in:
Ansgar Becker
2019-05-30 21:07:14 +02:00
parent f26f2f7b15
commit 3d76db0f07

View File

@ -1798,7 +1798,7 @@ begin
// Define which TLS protocol versions are allowed.
// See https://www.heidisql.com/forum.php?t=27158
// See https://mariadb.com/kb/en/library/mysql_optionsv/
mysql_options(FHandle, Integer(MARIADB_OPT_TLS_VERSION), PAnsiChar('TLSv1.0,TLSv1.1,TLSv1.2,TLSv1.3'));
mysql_options(FHandle, Integer(MARIADB_OPT_TLS_VERSION), PAnsiChar('TLSv1,TLSv1.1,TLSv1.2,TLSv1.3'));
Connected := mysql_real_connect(
FHandle,