diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-21 09:09:45 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-21 09:09:45 +0000 |
commit | 05a276a639bafa214babbc183042c4d81e141cd1 (patch) | |
tree | 8996b416b0b788ee46defc5fb8d83d8b4cd73ea5 /databases/mysqlcc | |
parent | - Fix build with gcc 3.4 (diff) |
Add patch for fixing work with MySQL 4.1.3 and 5.0.1.
PR: ports/70049
Submitted by: Jie Gao <gaoj@cpsc.ucalgary.ca>
Approved by: maintainer
Diffstat (limited to 'databases/mysqlcc')
-rw-r--r-- | databases/mysqlcc/files/patch-shared-src-CMySQL.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp b/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp new file mode 100644 index 000000000000..694f63b9e791 --- /dev/null +++ b/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp @@ -0,0 +1,14 @@ +--- shared/src/CMySQL.cpp.orig Thu Aug 5 12:26:14 2004 ++++ shared/src/CMySQL.cpp Thu Aug 5 12:29:53 2004 +@@ -451,7 +451,11 @@ + if (!isConnected()) + return false; + ++#if ( MYSQL_VERSION_ID == 40103 ) || ( MYSQL_VERSION_ID == 50001 ) ++ if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0) ++#else + if (mysql_shutdown(mysql) != 0) ++#endif + { + if (emiterror) + emitError(); |