]> granicus.if.org Git - php/commitdiff
Revert by adding an ifdef
authorAndrey Hristov <andrey@php.net>
Thu, 11 Jun 2009 17:53:13 +0000 (17:53 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 11 Jun 2009 17:53:13 +0000 (17:53 +0000)
ext/mysqlnd/mysqlnd_wireprotocol.c

index 98c7d748f5bed5541b5e06a70195334373dbcfbb..94e20752d22cd1c7411b1e906254c0a5627da3f5 100644 (file)
@@ -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");