]> granicus.if.org Git - php/commitdiff
fix invalid memory read. Thank you, valgrind
authorAndrey Hristov <andrey@php.net>
Mon, 21 Feb 2011 16:24:37 +0000 (16:24 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 21 Feb 2011 16:24:37 +0000 (16:24 +0000)
ext/mysqlnd/mysqlnd_result.c

index 947e788635c85a557a15b00fec8d8d5f394c4e57..aeec2e3772b56314c92abc411d519de723a1fc64 100644 (file)
@@ -1271,7 +1271,7 @@ 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="MYSQLND_LLU_SPEC" warnings=%u server_status=%u",
+       DBG_INF_FMT("ret=%s row_count=%u 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);