Mysql problem
#4

Check the mysql_query macro in the mysql include. I had same problem.

I used it like this:
pawn Код:
mysql_query(Query, THREAD_LOADSOMETHING);
This would not work by default, so i had to change the macro to this:
pawn Код:
#define mysql_query(%1,%2) \
    mysql_function_query(gConnectionhandle, %1, false, "OnQueryFinish", "siii", %1, %2, -1, 1)
Reply


Messages In This Thread
Mysql problem - by Zaec - 09.03.2012, 20:57
Re: Mysql problem - by Zaec - 09.03.2012, 21:10
Re: Mysql problem - by BrandyPenguin - 09.03.2012, 21:20
Re: Mysql problem - by Richie© - 09.03.2012, 21:28

Forum Jump:


Users browsing this thread: 3 Guest(s)