summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-06-28 12:04:44 +0000
committerPierre Joye <pajoye@php.net>2009-06-28 12:04:44 +0000
commita68f6c9c281ff1f35f4bb360fb09ad43ed6294e0 (patch)
tree2802122e7f16f925f058eaad02c34d4fffbf6403 /ext
parentf403bd21283273a21eb97214e4abe9c13ecf232a (diff)
downloadphp-git-a68f6c9c281ff1f35f4bb360fb09ad43ed6294e0.tar.gz
- fix build
Diffstat (limited to 'ext')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index 2924827e9c..2757e089c1 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -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 @@ void php_mysqlnd_rowp_read_text_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer,
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; */