1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

Fixed bug #61292 (Segfault while calling a method on an overloaded PDO object)

This commit is contained in:
Xinchen Hui
2012-03-06 03:45:27 +00:00
parent d796ebb0b5
commit a32a199201
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -49,6 +49,10 @@ PHP NEWS
. Fixed bug #60887 (SoapClient ignores user_agent option and sends no
User-Agent header). (carloschilazo at gmail dot com)
- PDO
. Fixed bug #61292 (Segfault while calling a method on an overloaded PDO
object). (Laruence)
- PDO_mysql
. Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't
always work). (Johannes)
+1
View File
@@ -343,6 +343,7 @@ static PHP_METHOD(PDO, dbh_constructor)
pdbh->def_stmt_ce = dbh->def_stmt_ce;
pdbh->def_stmt_ctor_args = dbh->def_stmt_ctor_args;
pdbh->std.properties = dbh->std.properties;
pdbh->std.properties_table = dbh->std.properties_table;
}
/* kill the non-persistent thingamy */
efree(dbh);