com php-src: Fix the macro in case of no statistics: ext/mysqlnd/mysqlnd.h
| From: | Andrey Hristov | Date: | Wed, 18 Nov 2015 09:49:37 +0000 |
| Subject: | com php-src: Fix the macro in case of no statistics: ext/mysqlnd/mysqlnd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89898@lists.php.net to get a copy of this message | ||
Commit: e59814ff34ce0b031c780146956a92657aaa56fa
Author: Andrey Hristov <andrey@php.net> Wed, 18 Nov 2015 10:49:37 +0100
Parents: b7b4364269d0f82a25e4448917f65ec45f951ffe
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e59814ff34ce0b031c780146956a92657aaa56fa
Log:
Fix the macro in case of no statistics
Changed paths:
M ext/mysqlnd/mysqlnd.h
Diff:
diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h
index 42a0285..048af78 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)