johannes                Thu Jun 18 15:07:23 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/mysqlnd        mysqlnd_result.c 
  Log:
  Temporarily disable this optimization causing too much trouble, kept in HEAD
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_result.c?r1=1.4.2.31&r2=1.4.2.32&diff_format=u
Index: php-src/ext/mysqlnd/mysqlnd_result.c
diff -u php-src/ext/mysqlnd/mysqlnd_result.c:1.4.2.31 
php-src/ext/mysqlnd/mysqlnd_result.c:1.4.2.32
--- php-src/ext/mysqlnd/mysqlnd_result.c:1.4.2.31       Tue Jun 16 13:07:14 2009
+++ php-src/ext/mysqlnd/mysqlnd_result.c        Thu Jun 18 15:07:23 2009
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: mysqlnd_result.c,v 1.4.2.31 2009/06/16 13:07:14 andrey Exp $ */
+/* $Id: mysqlnd_result.c,v 1.4.2.32 2009/06/18 15:07:23 johannes Exp $ */
 #include "php.h"
 #include "mysqlnd.h"
 #include "mysqlnd_wireprotocol.h"
@@ -201,6 +201,11 @@
 static
 void mysqlnd_buffered_free_previous_row(MYSQLND_RES *result, int which 
TSRMLS_DC)
 {
+       return;
+#ifdef JOHANNES_0
+       /* optimization currently disabled as this breaks fetching data with
+          more than START_FREEING_AFTER_X_ROWS rows */
+
        MYSQLND_RES_BUFFERED * set = result->stored_data;
 
        DBG_ENTER("mysqlnd_buffered_free_previous_row");
@@ -239,6 +244,7 @@
        }
 
        DBG_VOID_RETURN;
+#endif
 }
 /* }}} */
 



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

Reply via email to