Fix the macro in case of no statistics

This commit is contained in:
Andrey Hristov 2015-11-18 10:49:37 +01:00
parent b7b4364269
commit e59814ff34

View File

@ -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)