Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
I just can't understand the difference between.... when to use a different function
mysql_pquery
mysql_tquery
mysql_query
mysql_function_query
Posts: 2,698
Threads: 37
Joined: Mar 2012
Reputation:
0
03.01.2015, 07:55
(
Последний раз редактировалось Lordzy; 04.10.2015 в 08:03.
)
mysql_query - It's a non threaded MySQL query, in case if you want to get the result in middle of execution, you can use non-threaded mysql_query function.
mysql_tquery - It works like mysql_query but it's more extended, it's multi-threaded and will send the query details to it's callback mentioned.
mysql_function_query - Same as mysql_tquery.
It's better to use mysql_tquery than mysql_query because the latter one is not multi-threaded and can cause lag to SA-MP server if overused.
mysql_pquery - It's mentioned on releases that it sends out parallel queries, I haven't ever tried this function though.