From e59814ff34ce0b031c780146956a92657aaa56fa Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Wed, 18 Nov 2015 10:49:37 +0100 Subject: [PATCH] Fix the macro in case of no statistics --- ext/mysqlnd/mysqlnd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0