Is mysql_free_result(); necessary to use?
#1

Fixed!
Reply
#2

After storing the result of a query, you need to free it.
If you don't, you'll start getting "commands out of sync" errors.
https://sampwiki.blast.hk/wiki/MySQL#mysql_store_result
Reply
#3

Fixed!
Reply
#4

This is only used when you store your results using mysql_store_result. And it's not like every clause have results produced. You don't need this for UPDATE and INSERT clauses.

I would recommend you to use the latest mysql plugin version and thread all the queries, then these aren't required.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)