I have a little problem with sql plugin (using
<sqlx>)
My situation:
new Handle:query=SQL_PrepareQuery(sqlx,"Select `column1` from `db` where `column1`='111')
My Problem:if there is no query that contains 111(for example) i will get this:
Code:
L 09/30/2008 - 20:25:38: [MySQL] No result set in this query!
L 09/30/2008 - 20:25:38: [AMXX] Displaying debug trace (plugin "amx_hwid.amxx")
L 09/30/2008 - 20:25:38: [AMXX] Run time error 10: native error (native "SQL_FieldNameToNum")
L 09/30/2008 - 20:25:38: [AMXX] [0] amx_hwid.sma::client_putinserver (line 80)
How i can avoid it? For example: if there is no query with 111, it will return in player's console that there is now 111(but not debug) and stops function.
Or what format of query request i should user?
thnx.