Date: Wed, 4 Jan 2017 14:07:10 +0000 (UTC) From: Torsten Zuehlsdorff <tz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430557 - in head/databases/php70-interbase: . files Message-ID: <201701041407.v04E7A6H018404@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@computer1020.at> Reviewed by: Marc Muncke <m.muncke@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++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701041407.v04E7A6H018404>