mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix sprintf modifier to be right, wrong data reported in the log
This commit is contained in:
parent
1cf5713dd3
commit
4e08abeead
1 changed files with 2 additions and 2 deletions
|
@ -1270,8 +1270,8 @@ MYSQLND_METHOD(mysqlnd_res, store_result_fetch_data)(MYSQLND * const conn, MYSQL
|
|||
/* libmysql's documentation says it should be so for SELECT statements */
|
||||
conn->upsert_status.affected_rows = set->row_count;
|
||||
}
|
||||
DBG_INF_FMT("ret=%s row_count=%u warnings=%u server_status=%u", ret == PASS? "PASS":"FAIL",
|
||||
set->row_count, conn->upsert_status.warning_count, conn->upsert_status.server_status);
|
||||
DBG_INF_FMT("ret=%s row_count="MYSQLND_LLU_SPEC" warnings=%u server_status=%u",
|
||||
ret == PASS? "PASS":"FAIL", (uint) set->row_count, conn->upsert_status.warning_count, conn->upsert_status.server_status);
|
||||
end:
|
||||
PACKET_FREE(row_packet);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue