helly           Mon Jul  5 15:36:11 2004 EDT

  Modified files:              
    /php-src/ext/mysqli mysqli.c 
    /php-src    NEWS 
  Log:
  - Bugfix: #29019 Database not closing
  
  
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli.c?r1=1.41&r2=1.42&ty=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.41 php-src/ext/mysqli/mysqli.c:1.42
--- php-src/ext/mysqli/mysqli.c:1.41    Wed Jun 23 12:47:25 2004
+++ php-src/ext/mysqli/mysqli.c Mon Jul  5 15:36:10 2004
@@ -15,7 +15,7 @@
   | Author: Georg Richter <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli.c,v 1.41 2004/06/23 16:47:25 georg Exp $ 
+  $Id: mysqli.c,v 1.42 2004/07/05 19:36:10 helly Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -132,7 +132,7 @@
        FREE_HASHTABLE(intern->zo.properties);
 
        /* link object */
-       if (intern->zo.ce == mysqli_link_class_entry) {
+       if (instanceof_function(intern->zo.ce, mysqli_link_class_entry TSRMLS_CC)) {
                if (my_res && my_res->ptr) {
                        MY_MYSQL *mysql = (MY_MYSQL *)my_res->ptr;
                
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1752&r2=1.1753&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1752 php-src/NEWS:1.1753
--- php-src/NEWS:1.1752 Sat Jul  3 12:14:46 2004
+++ php-src/NEWS        Mon Jul  5 15:36:10 2004
@@ -3,6 +3,7 @@
 ?? Jul 2004, PHP 5.0.0
 - Updated PCRE to provide better error handling in certain cases. (Andrei)
 - Changed doc comments to require a single white space after '/**'. (Marcus)
+- Fixed bug #29019 (Database not closing). (Marcus)
 - Fixed bug #28895 (ReflectionClass::isAbstract always returns false). (Marcus)
 - Fixed bug #28868 (Internal filter registry not thread safe). (Sara)
 - Fixed bug #28851 (call_user_func_array has typo in error message). (Marcus)



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

Reply via email to