|
|||||||||||
|
PHP mysqlnd svn commit: r798 - in trunk: mysqlnd tests/ext/mysqli
From: <ahristov(at)mysql.com>
Date: Thu Jul 19 2007 - 08:58:13 EDT
Modified: trunk/mysqlnd/mysqlnd_priv.h trunk/mysqlnd/mysqlnd_result.c trunk/tests/ext/mysqli/mysqli_info.phptLog: get mysqli_info test fixed and also reset last_message if the command is SELECT Modified: trunk/mysqlnd/mysqlnd_priv.h
+#define SET_EMPTY_MESSAGE(buf, buf_len) \
+ {\
+ if ((buf)) { \
+ efree((buf)); \
+ (buf) = NULL; \
+ } \
+ (buf_len) = 0; \
+ }
+
+
#define SET_EMPTY_ERROR(error_info) \
{ \
error_info.error_no = 0; \
Modified: trunk/mysqlnd/mysqlnd_result.c
+ SET_EMPTY_MESSAGE(conn->last_message, conn->last_message_len); + MYSQLND_INC_CONN_STATISTIC(&conn->stats, STAT_RSET_QUERY); memset(&conn->upsert_status, 0, sizeof(conn->upsert_status)); conn->last_query_type = QUERY_SELECT; Modified: trunk/tests/ext/mysqli/mysqli_info.phpt
-- MySQL Code Commits Mailing List For list archives: http://lists.mysql.com/commits To unsubscribe: http://lists.mysql.com/commits?unsub=lists@pantek.comReceived on Thu Jul 19 08:58:20 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:09:04 EDT |
||||||||||
|
|||||||||||