mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
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
11 lines
406 B
C
11 lines
406 B
C
--- 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++;
|