PHP mysqlnd svn commit: r911 - trunk/mysqlnd
Author: ahristov
Date: 2007-08-15 18:31:33 +0200 (Wed, 15 Aug 2007)
New Revision: 911
Modified:
trunk/mysqlnd/mysqlnd_ps.c
Log:
use the new macros
Modified: trunk/mysqlnd/mysqlnd_ps.c
- trunk/mysqlnd/mysqlnd_ps.c 2007-08-15 16:31:08 UTC (rev 910)
+++ trunk/mysqlnd/mysqlnd_ps.c 2007-08-15 16:31:33 UTC (rev 911)
@@ -1608,8 +1608,8 @@
as we have cleaned the line
*/
if (stmt->stmt_id) {
- MYSQLND_INC_CONN_STATISTIC(NULL, implicit == TRUE? STAT_FREE_RESULT_IMPLICIT:
- STAT_FREE_RESULT_EXPLICIT);
+ MYSQLND_INC_GLOBAL_STATISTIC(implicit == TRUE? STAT_FREE_RESULT_IMPLICIT:
+ STAT_FREE_RESULT_EXPLICIT);
int4store(cmd_buf, stmt->stmt_id);
if (conn->state == CONN_READY &&
@@ -1637,8 +1637,8 @@
DBG_ENTER("mysqlnd_stmt::close");
DBG_INF_FMT("stmt=%p", stmt);
- MYSQLND_INC_CONN_STATISTIC(NULL, implicit == TRUE? STAT_STMT_CLOSE_IMPLICIT:
- STAT_STMT_CLOSE_EXPLICIT);
+ MYSQLND_INC_GLOBAL_STATISTIC(implicit == TRUE? STAT_STMT_CLOSE_IMPLICIT:
+ STAT_STMT_CLOSE_EXPLICIT);
if (PASS == (ret = stmt->m->close(stmt, implicit TSRMLS_CC))) {
efree(stmt);
--
MySQL Code Commits Mailing List
For list archives:
http://lists.mysql.com/commits
To unsubscribe:
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Wed Aug 15 12:46:08 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 08:34:49 EDT
|