svn commit: r430557 - in head/databases/php70-interbase: . files
Torsten Zuehlsdorff
tz at FreeBSD.org
Wed Jan 4 14:07:11 UTC 2017
Author: tz
Date: Wed Jan 4 14:07:10 2017
New Revision: 430557
URL: https://svnweb.freebsd.org/changeset/ports/430557
Log:
databases/php70-interbase: Allow creation of multiple connections to Interbase
Currently the first connection to the database is closed
when a second one is opened. This bug was already reported to upstream:
https://bugs.php.net/bug.php?id=72175
Reported by: Marc Muncke <m.muncke at computer1020.at>
Reviewed by: Marc Muncke <m.muncke at computer1020.at>
MFH: 2017Q1
Added:
head/databases/php70-interbase/files/
head/databases/php70-interbase/files/patch-interbase.c (contents, props changed)
Modified:
head/databases/php70-interbase/Makefile
Modified: head/databases/php70-interbase/Makefile
==============================================================================
--- head/databases/php70-interbase/Makefile Wed Jan 4 14:06:36 2017 (r430556)
+++ head/databases/php70-interbase/Makefile Wed Jan 4 14:07:10 2017 (r430557)
@@ -5,6 +5,8 @@ CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php70
+PORTREVISION= 1
+
PKGNAMESUFFIX= -interbase
.include "${MASTERDIR}/Makefile"
Added: head/databases/php70-interbase/files/patch-interbase.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/php70-interbase/files/patch-interbase.c Wed Jan 4 14:07:10 2017 (r430557)
@@ -0,0 +1,11 @@
+--- interbase.c.orig 2016-12-16 10:59:02 UTC
++++ interbase.c
+@@ -940,7 +940,7 @@ static void _php_ibase_connect(INTERNAL_
+ xlink = (zend_resource*) le->ptr;
+ if ((!persistent && xlink->type == le_link) || xlink->type == le_plink) {
+ if (IBG(default_link)) {
+- zend_list_close(IBG(default_link));
++ zend_list_delete(IBG(default_link));
+ }
+ xlink->gc.refcount++;
+ xlink->gc.refcount++;
More information about the svn-ports-all
mailing list