[MYSQL] Either queries or sscanf crash the server
#10

Well thats still not working. When it loads it should echo to the console to say Car loaded. But it shows nothing.
This is the log:
Код:
[23:34:54] CMySQLHandler::EscapeString(SELECT `HouseID` FROM `Houses` WHERE `Houseowner`='Thimo'); - Escaped 59 characters to SELECT `HouseID` FROM `Houses` WHERE `Houseowner`=\'Thimo\'.

[23:34:54] >> mysql_query( Connection handle: 1 )

[23:34:54] CMySQLHandler::Query(SELECT `HouseID` FROM `Houses` WHERE `Houseowner`=\'Thimo\') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\'Thimo\'' at line 1)

[23:34:54] >> mysql_store_result( Connection handle: 1 )

[23:34:54] CMySQLHandler::StoreResult() - No data to store.

[23:34:54] >> mysql_fetch_field_row( Connection handle: 1 )

[23:34:54] CMySQLHandler::FetchField(HouseID) - You cannot call this function now. (Reason: Fields/Rows are empty.)

[23:34:54] >> mysql_free_result( Connection handle: 1 )

[23:34:54] CMySQLHandler::FreeResult() - The result is already empty.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)