summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-11-18 10:49:37 +0100
committerAndrey Hristov <andrey@php.net>2015-11-18 10:49:37 +0100
commite59814ff34ce0b031c780146956a92657aaa56fa (patch)
treec7800c60893b679e212dd2e7b73e897a7c43b28d /ext
parentb7b4364269d0f82a25e4448917f65ec45f951ffe (diff)
downloadphp-git-e59814ff34ce0b031c780146956a92657aaa56fa.tar.gz
Fix the macro in case of no statistics
Diffstat (limited to 'ext')
-rw-r--r--ext/mysqlnd/mysqlnd.h2
1 files changed, 1 insertions, 1 deletions
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)