MySQL R7
#1

Hello,

I'm using BlueG's MySQL R7 Plugin and have one question left over. It has been mentioned that all queries are now threaded. Does that mean that I can do the following and just keep coding below it as it will just not wait for MySQL to finish?:

pawn Код:
// Would this cause any issues (e.g. lag)?
mysql_function_query(handle, "INSERT INTO `table` (`column`) VALUES ('value')", false, "" "");
SetPlayerPos(/* ... */);
GetPlayerPos(/* ... */);
PutPlayerInVehicle(/* ... */);
// ...
I hope you understand my question - as in R6 I used OnQueryFinish to continue my code as it would await the finish of the query before doing anything else.
Reply


Messages In This Thread
MySQL R7 - by GiS - 14.12.2012, 17:02
Re: MySQL R7 - by Virtual1ty - 14.12.2012, 17:29
Re: MySQL R7 - by GiS - 14.12.2012, 17:44
Re: MySQL R7 - by Virtual1ty - 14.12.2012, 17:53

Forum Jump:


Users browsing this thread: 2 Guest(s)