Explorar o código

HUE-1675 [core] mysql extension needs an SSL fix for MySQL 5.5

Abraham Elmahrek %!s(int64=12) %!d(string=hai) anos
pai
achega
5e5b2f1
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      desktop/core/ext-py/MySQL-python-1.2.3c1/_mysql.c

+ 5 - 0
desktop/core/ext-py/MySQL-python-1.2.3c1/_mysql.c

@@ -102,6 +102,11 @@ 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)
 {