09.02.2012, 05:16
@[Diablo] you can still fetch the data in the PAWN thread with mysql_retrieve_row() and such(you will have to set the cache variable to false then).
But, there is still a backward compatibility define
which should make your code work as before.
@Stewie` as Sergei said and as I said above, if you had used the threded model before, the above define should do the job.. unless you're using one of the removed functions like:
then, you'll have to find some workaround(it shouldn't be a hard job).
But, there is still a backward compatibility define
pawn Код:
#define mysql_query(%1, %2, %3, %4) \
mysql_function_query(%4, %1, false, "OnQueryFinish", "siii", %1, %2, %3, %4)
@Stewie` as Sergei said and as I said above, if you had used the threded model before, the above define should do the job.. unless you're using one of the removed functions like:
pawn Код:
mysql_fetch_int()
mysql_fetch_float()