patch-_mysql_c 396 B

12345678910111213
  1. $OpenBSD: patch-_mysql_c,v 1.4 2014/09/03 13:43:39 benoit Exp $
  2. --- _mysql.c.orig Thu Jan 2 13:52:50 2014
  3. +++ _mysql.c Wed Sep 3 13:57:17 2014
  4. @@ -2079,7 +2079,7 @@
  5. check_connection(self);
  6. Py_BEGIN_ALLOW_THREADS
  7. r = mysql_shutdown(&(self->connection)
  8. -#if MYSQL_VERSION_ID >= 40103
  9. +#if (MYSQL_VERSION_ID >= 40103 && MYSQL_VERSION_ID != 50000)
  10. , SHUTDOWN_DEFAULT
  11. #endif
  12. );