mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
MFH: fix #35293 (PDO segfaults when using persistent connections)
This commit is contained in:
parent
60949ca571
commit
493c9fcf93
1
NEWS
1
NEWS
@ -1,6 +1,7 @@
|
||||
PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? Nov 2005, PHP 5.1
|
||||
- FIxed bug #35293 (PDO segfaults when using persistent connections). (Tony)
|
||||
- Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module). (Ilia)
|
||||
- Fixed bug #35273 (Error in mapping soap - java types). (Dmitry)
|
||||
- Fixed bug #33153 (crash in mssql_next result). (Frank)
|
||||
|
@ -341,6 +341,8 @@ static PHP_METHOD(PDO, dbh_constructor)
|
||||
if (pdbh) {
|
||||
/* let's copy the emalloc bits over from the other handle */
|
||||
pdbh->ce = dbh->ce;
|
||||
pdbh->def_stmt_ce = dbh->def_stmt_ce;
|
||||
pdbh->def_stmt_ctor_args = dbh->def_stmt_ctor_args;
|
||||
pdbh->properties = dbh->properties;
|
||||
/* kill the non-persistent thingamy */
|
||||
efree(dbh);
|
||||
|
Loading…
Reference in New Issue
Block a user