|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2012-07-10 17:47 UTC] sixd@php.net
 
-Status:  Open
+Status:  Not a bug
-Package: Oracle related
+Package: OCI8 related
  [2012-07-10 17:47 UTC] sixd@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 11:00:01 2025 UTC | 
Description: ------------ In PHP 5.4 through 5.4.4, the oci8 source file (ext/oci/oci8.c) contains this nonsensical code in php_oci_create_session: if (!connection->using_spool) { connection->using_spool = 1; } The effect of this line is to always set the boolean using_spool to a non-zero value. I suspect that this causes a difficult to reproduce series of failures in long running server processes by causing resource cleanup to proceed incorrectly. I suspect the test should be if (!connection->private_spool) { connection->using_spool = 1; } but I'm not familiar enough with the session pooling features to be sure.