sixd            Tue Dec 11 06:46:16 2007 UTC

  Added files:                 (Branch: PHP_5_3)
    /php-src/ext/oci8/tests     lob_041.phpt bug42496_2.phpt 
                                bug42496_1.phpt 

  Modified files:              
    /php-src/ext/oci8   oci8_statement.c 
  Log:
  MFB: Fix #42496. Cursor leak fetching LOBs
  
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_statement.c?r1=1.7.2.14.2.28&r2=1.7.2.14.2.28.2.1&diff_format=u
Index: php-src/ext/oci8/oci8_statement.c
diff -u php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.28 
php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.28.2.1
--- php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.28     Thu Aug  2 19:04:37 2007
+++ php-src/ext/oci8/oci8_statement.c   Tue Dec 11 06:46:16 2007
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_statement.c,v 1.7.2.14.2.28 2007/08/02 19:04:37 sixd Exp $ */
+/* $Id: oci8_statement.c,v 1.7.2.14.2.28.2.1 2007/12/11 06:46:16 sixd Exp $ */
 
 
 #ifdef HAVE_CONFIG_H
@@ -368,7 +368,6 @@
                                if (!descr) {
                                        return OCI_ERROR;
                                }
-                               zend_list_addref(outcol->statement->id);
                                outcol->descid = descr->id;
                                descr->charset_form = outcol->charset_form;
                                

http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/lob_041.phpt?view=markup&rev=1.1
Index: php-src/ext/oci8/tests/lob_041.phpt
+++ php-src/ext/oci8/tests/lob_041.phpt

http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/bug42496_2.phpt?view=markup&rev=1.1
Index: php-src/ext/oci8/tests/bug42496_2.phpt
+++ php-src/ext/oci8/tests/bug42496_2.phpt

http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/bug42496_1.phpt?view=markup&rev=1.1
Index: php-src/ext/oci8/tests/bug42496_1.phpt
+++ php-src/ext/oci8/tests/bug42496_1.phpt

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to