diff options
Diffstat (limited to 'databases/p5-Mysql/files/patch-dbd-myMsql.h')
-rw-r--r-- | databases/p5-Mysql/files/patch-dbd-myMsql.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/p5-Mysql/files/patch-dbd-myMsql.h b/databases/p5-Mysql/files/patch-dbd-myMsql.h new file mode 100644 index 000000000000..b2cd424bc6d7 --- /dev/null +++ b/databases/p5-Mysql/files/patch-dbd-myMsql.h @@ -0,0 +1,14 @@ +--- dbd/myMsql.h.orig Wed Nov 30 09:28:39 2005 ++++ dbd/myMsql.h Wed Nov 30 09:29:09 2005 +@@ -117,7 +117,11 @@ + #define MyGetHostInfo(s) mysql_get_host_info(s) + #define MyGetServerInfo(s) mysql_get_server_info(s) + #define MyGetProtoInfo(s) mysql_get_proto_info(s) ++#if MYSQL_VERSION_ID < 40000 + #define MyShutdown(s) mysql_shutdown(s) ++#else ++#define MyShutdown(s) mysql_shutdown(s, SHUTDOWN_DEFAULT) ++#endif + #ifdef REFRESH_GRANT + #define MyReload(s) mysql_refresh(s, \ + REFRESH_GRANT|REFRESH_LOG|REFRESH_TABLES) |