tony2001                Tue Dec 16 10:48:22 2003 EDT

  Modified files:              
    /php-src/ext/oci8   oci8.c 
  Log:
  fix warning, concerned to second _oci_close_server() call
  
  
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.221 php-src/ext/oci8/oci8.c:1.222
--- php-src/ext/oci8/oci8.c:1.221       Tue Dec 16 06:15:55 2003
+++ php-src/ext/oci8/oci8.c     Tue Dec 16 10:48:20 2003
@@ -22,7 +22,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: oci8.c,v 1.221 2003/12/16 11:15:55 phanto Exp $ */
+/* $Id: oci8.c,v 1.222 2003/12/16 15:48:20 tony2001 Exp $ */
 
 /* TODO list:
  *
@@ -712,7 +712,7 @@
 
        php_info_print_table_start();
        php_info_print_table_row(2, "OCI8 Support", "enabled");
-       php_info_print_table_row(2, "Revision", "$Revision: 1.221 $");
+       php_info_print_table_row(2, "Revision", "$Revision: 1.222 $");
 
        sprintf(buf, "%ld", num_persistent);
        php_info_print_table_row(2, "Active Persistent Links", buf);
@@ -990,11 +990,13 @@
 static void 
 _oci_server_list_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
 {
+#if 0
        oci_server *server = (oci_server *)rsrc->ptr;
        if (server->persistent)
                return;
 
        _oci_close_server(server);
+#endif
 }
 
 /* }}} */

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

Reply via email to