19.01.2012, 19:08
Hello, I'm having a problem with MySQL.. so.. when I use this QUERY:
it will work correct and the result frees. Otherwise, if I use this:
it won't work and the result wont free:
Код:
SELECT * FROM `cars` WHERE `id` < "#MAX_PCARS" ORDER by id
Код:
SELECT * FROM `cars` WHERE `id` > 163
Код:
[22:11:01] CMySQLHandler::Query(SELECT * FROM `cars` WHERE id > 163) - Successfully executed. [22:11:01] >> mysql_store_result( Connection handle: 1 ) [22:11:01] CMySQLHandler::StoreResult() - Result was stored. [22:11:01] >> mysql_num_rows( Connection handle: 1 ) [22:11:01] CMySQLHandler::NumRows() - Returned 1 row(s) [22:11:01] >> mysql_fetch_row_format( Connection handle: 1 ) [22:11:01] CMySQLHandler::FetchRow() - Return: 164|411|-2051.67|91.3433|28.619|94|-1|-1|Dealership|Infernus|15000000|Dealership|1|0|0|0|0