From: Andrey Hristov Date: Wed, 18 Nov 2015 09:49:37 +0000 (+0100) Subject: Fix the macro in case of no statistics X-Git-Tag: php-7.1.0alpha1~718 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e59814ff34ce0b031c780146956a92657aaa56fa;p=php Fix the macro in case of no statistics --- diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h index 42a0285569..048af789fc 100644 --- a/ext/mysqlnd/mysqlnd.h +++ b/ext/mysqlnd/mysqlnd.h @@ -292,7 +292,7 @@ PHPAPI void _mysqlnd_get_client_stats(MYSQLND_STATS * stats, zval *return_valu #else #define MYSQLND_INC_GLOBAL_STATISTIC(statistic) -#define MYSQLND_DEC_CONN_STATISTIC(conn_stats, statistic) +#define MYSQLND_DEC_GLOBAL_STATISTIC(statistic) #define MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(statistic1, value1, statistic2, value2) #define MYSQLND_INC_CONN_STATISTIC(conn_stats, statistic) #define MYSQLND_INC_CONN_STATISTIC_W_VALUE(conn_stats, statistic, value)