14.12.2012, 17:02
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?:
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.
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(/* ... */);
// ...