mysql_pquery vs mysql_tquery
#9

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
tquery is added to a queue which gets executed in a thread separated from the SAMP server, while pquery is sent immediately. pquery can be frantically dangerous for use if you depend on results from a previous query. (e.g race collision). You should only use pquery for insert or update queries, which have no callbacks attached.
Can somone confirm this for me quickly, should I use pquery to for example insert a row for a table.
Reply


Messages In This Thread
mysql_pquery vs mysql_tquery - by Yashas - 09.06.2017, 04:17
Re: mysql_pquery vs mysql_tquery - by PaulDinam - 09.06.2017, 04:39
Re: mysql_pquery vs mysql_tquery - by Yashas - 09.06.2017, 05:06
Re: mysql_pquery vs mysql_tquery - by DRIFT_HUNTER - 09.06.2017, 08:11
Re: mysql_pquery vs mysql_tquery - by Vince - 09.06.2017, 11:45
Re: mysql_pquery vs mysql_tquery - by Yashas - 09.06.2017, 13:34
Re: mysql_pquery vs mysql_tquery - by PaulDinam - 09.06.2017, 18:43
Re: mysql_pquery vs mysql_tquery - by justice96 - 09.06.2017, 20:55
Re: mysql_pquery vs mysql_tquery - by Meller - 12.07.2017, 22:15
Re: mysql_pquery vs mysql_tquery - by maddinat0r - 13.07.2017, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)