Ver Fonte

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

Abraham Elmahrek há 12 anos atrás
pai
commit
5e5b2f1
1 ficheiros alterados com 5 adições e 0 exclusões
  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)
 {