diff options
author | sem <sem@FreeBSD.org> | 2004-08-21 09:09:45 +0000 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-08-21 09:09:45 +0000 |
commit | bcd62d918cedea3169bffb0029f6a60b519077bc (patch) | |
tree | aa7682cb8f39a0adc414289c7b0518802007b15e /databases/mysqlcc | |
parent | ce77a4c8c071f6b844979573bf92cd570c4ad672 (diff) | |
download | FreeBSD-ports-bcd62d918cedea3169bffb0029f6a60b519077bc.zip FreeBSD-ports-bcd62d918cedea3169bffb0029f6a60b519077bc.tar.gz |
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 0000000..694f63b --- /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(); |