]> granicus.if.org Git - php/commitdiff
Fix the macro in case of no statistics
authorAndrey Hristov <andrey@php.net>
Wed, 18 Nov 2015 09:49:37 +0000 (10:49 +0100)
committerAndrey Hristov <andrey@php.net>
Wed, 18 Nov 2015 09:49:37 +0000 (10:49 +0100)
ext/mysqlnd/mysqlnd.h

index 42a0285569816f0458e3d6ac0dde4c5fd79cf845..048af789fcf634f1a583099e83b581aedd7959e0 100644 (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)