andrey Thu Jun 11 17:54:04 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/mysqlnd mysqlnd_wireprotocol.c Log: Put these in an ifdef because they are not used at all if the zval cache is off. http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_wireprotocol.c?r1=1.4.2.28&r2=1.4.2.29&diff_format=u Index: php-src/ext/mysqlnd/mysqlnd_wireprotocol.c diff -u php-src/ext/mysqlnd/mysqlnd_wireprotocol.c:1.4.2.28 php-src/ext/mysqlnd/mysqlnd_wireprotocol.c:1.4.2.29 --- php-src/ext/mysqlnd/mysqlnd_wireprotocol.c:1.4.2.28 Thu Jun 11 14:36:48 2009 +++ php-src/ext/mysqlnd/mysqlnd_wireprotocol.c Thu Jun 11 17:54:04 2009 @@ -1362,8 +1362,10 @@ 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");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php