georg           Mon Jul 26 03:22:01 2004 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src    NEWS 
    /php-src/ext/mysqli mysqli.c 
  Log:
  MFH: fixed bug 29335
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.9&r2=1.1760.2.10&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.9 php-src/NEWS:1.1760.2.10
--- php-src/NEWS:1.1760.2.9     Mon Jul 26 01:45:40 2004
+++ php-src/NEWS        Mon Jul 26 03:22:00 2004
@@ -5,6 +5,7 @@
   (Marcus, kameshj at fastmail dot fm)
 - Fixed bug #29368 (The destructor is called when an exception is thrown from 
   the constructor). (Marcus)
+- Fixed bug #29335 (fetch functions now use MYSQLI_BOTH as default) (Georg)
 - Fixed bug #29291 (get_class_vars() return names with NULLs). (Marcus)
 - Fixed bug #29119 (html_entity_decode() misbehaves with UTF-8). (Moriyoshi)
 - Fixed bug #28895 (ReflectionClass::isAbstract always returns false). (Marcus)
http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli.c?r1=1.43&r2=1.43.2.1&ty=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.43 php-src/ext/mysqli/mysqli.c:1.43.2.1
--- php-src/ext/mysqli/mysqli.c:1.43    Wed Jul  7 04:02:27 2004
+++ php-src/ext/mysqli/mysqli.c Mon Jul 26 03:22:01 2004
@@ -15,7 +15,7 @@
   | Author: Georg Richter <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli.c,v 1.43 2004/07/07 08:02:27 georg Exp $ 
+  $Id: mysqli.c,v 1.43.2.1 2004/07/26 07:22:01 georg Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -594,7 +594,7 @@
                        }
                        fetchtype = override_flags;
                } else {
-                       fetchtype = MYSQLI_NUM;
+                       fetchtype = MYSQLI_ASSOC;
                        if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, 
getThis(), "O|l", &mysql_result, mysqli_result_class_entry, &fetchtype) == FAILURE) {
                                return;
                        }

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

Reply via email to