Author: ahristov
Date: 2007-12-20 18:14:07 +0100 (Thu, 20 Dec 2007)
New Revision: 1175
Modified:
trunk/mysqlnd/mysqlnd.c
Log:
Use the macro instead of directly setting
Modified: trunk/mysqlnd/mysqlnd.c
===================================================================
--- trunk/mysqlnd/mysqlnd.c 2007-12-14 14:52:18 UTC (rev 1174)
+++ trunk/mysqlnd/mysqlnd.c 2007-12-20 17:14:07 UTC (rev 1175)
@@ -1425,7 +1425,8 @@
}
SET_EMPTY_ERROR(conn->error_info);
- conn->upsert_status.affected_rows= ~(mynd_ulonglong) 0;
+ SET_ERROR_AFF_ROWS(conn);
+
/*
We are sure that there is a result set, since conn->state is set accordingly
in mysqlnd_store_result() or mysqlnd_fetch_row_unbuffered()
| Thread |
|---|
| • PHP mysqlnd svn commit: r1175 - trunk/mysqlnd | ahristov | 20 Dec |