summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-06-11 17:53:13 +0000
committerAndrey Hristov <andrey@php.net>2009-06-11 17:53:13 +0000
commitb2f0e083073e6a3013daee2c39aaa658bf5eba85 (patch)
treeac9e5e93aff06f397457dfe5c6a38425e9b186f8 /ext/mysqlnd/mysqlnd_wireprotocol.c
parent54ac8205a0e6b518ac707c6317e0dbf5b2324ef5 (diff)
downloadphp-git-b2f0e083073e6a3013daee2c39aaa658bf5eba85.tar.gz
Revert by adding an ifdef
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index 98c7d748f5..94e20752d2 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1363,7 +1363,10 @@ void php_mysqlnd_rowp_read_binary_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffe
zend_uchar *null_ptr, bit;
zval **current_field, **end_field, **start_field;
zend_bool as_unicode = conn->options.numeric_and_datetime_as_unicode;
+#ifdef USE_ZVAL_CACHE
zend_bool allocated;
+ void *obj = NULL;
+#endif
DBG_ENTER("php_mysqlnd_rowp_read_binary_protocol");