mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 02:54:29 +08:00
Force HAVE_OPENSSL if the client library is 5.5 or newer. Fixes #3535584.
This commit is contained in:
@ -100,6 +100,10 @@ static int _mysql_server_init_done = 0;
|
||||
#define check_server_init(x) if (!_mysql_server_init_done) _mysql_server_init_done = 1
|
||||
#endif
|
||||
|
||||
#if MYSQL_VERSION_ID >= 50500
|
||||
#define HAVE_OPENSSL 1
|
||||
#endif
|
||||
|
||||
PyObject *
|
||||
_mysql_Exception(_mysql_ConnectionObject *c)
|
||||
{
|
||||
|
Reference in New Issue
Block a user