pajoye          Sun Jun 28 12:04:44 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/mysqlnd        mysqlnd_wireprotocol.c 
  Log:
  - fix build
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_wireprotocol.c?r1=1.4.2.32&r2=1.4.2.33&diff_format=u
Index: php-src/ext/mysqlnd/mysqlnd_wireprotocol.c
diff -u php-src/ext/mysqlnd/mysqlnd_wireprotocol.c:1.4.2.32 
php-src/ext/mysqlnd/mysqlnd_wireprotocol.c:1.4.2.33
--- php-src/ext/mysqlnd/mysqlnd_wireprotocol.c:1.4.2.32 Thu Jun 25 19:03:52 2009
+++ php-src/ext/mysqlnd/mysqlnd_wireprotocol.c  Sun Jun 28 12:04:44 2009
@@ -25,6 +25,7 @@
 #include "mysqlnd_statistics.h"
 #include "mysqlnd_palloc.h"
 #include "mysqlnd_debug.h"
+#include "mysqlnd/mysqlnd_block_alloc.h"
 #include "ext/standard/sha1.h"
 #include "php_network.h"
 #include "zend_ini.h"
@@ -1473,7 +1474,7 @@
        end_field = (current_field = start_field = fields) + field_count;
        for (i = 0; current_field < end_field; current_field++, i++) {
                /* Don't reverse the order. It is significant!*/
-               void *obj;
+               void *obj = NULL;
                zend_bool allocated = TRUE;
                zend_uchar *this_field_len_pos = p;
                /* php_mysqlnd_net_field_length() call should be after 
*this_field_len_pos = p; */



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

Reply via email to