diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-06-09 20:41:09 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-06-09 20:41:09 +0000 |
commit | 197f1d02927aa6399a32c03fb8d484fed92bcde3 (patch) | |
tree | 16df9e1b5a921677c60e497215296c83dc9f098c /databases/mysqlcc | |
parent | bd272b52ccd6530993dd63aebc94f3652c053c5f (diff) | |
download | ports-197f1d02927aa6399a32c03fb8d484fed92bcde3.tar.gz ports-197f1d02927aa6399a32c03fb8d484fed92bcde3.zip |
Notes
Diffstat (limited to 'databases/mysqlcc')
-rw-r--r-- | databases/mysqlcc/files/patch-shared-src-CMySQL.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp b/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp index 8fd58c7fe679..b0fbd9e936ae 100644 --- a/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp +++ b/databases/mysqlcc/files/patch-shared-src-CMySQL.cpp @@ -1,12 +1,15 @@ ---- shared/src/CMySQL.cpp.orig Sun Dec 14 00:10:44 2003 -+++ shared/src/CMySQL.cpp Sun Dec 26 14:24:43 2004 + +$FreeBSD$ + +--- shared/src/CMySQL.cpp.orig ++++ shared/src/CMySQL.cpp @@ -450,8 +450,12 @@ if (!isConnected()) return false; - + -+#if ( MYSQL_VERSION_ID == 40103 ) || ( MYSQL_VERSION_ID == 50001 ) || ( MYSQL_VERSION_ID == 40107 ) ++#if ( MYSQL_VERSION_ID > 40100 ) || ( MYSQL_VERSION_ID == 50001 ) || ( MYSQL_VERSION_ID == 40107 ) + if (mysql_shutdown(mysql,SHUTDOWN_DEFAULT) != 0) +#else if (mysql_shutdown(mysql) != 0) |