SA-MP Forums Archive
SQL Queries freezing the server. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SQL Queries freezing the server. (/showthread.php?tid=458216)



SQL Queries freezing the server. - -CaRRoT - 15.08.2013

Well, Recently I started facing a problem within the SQL Queries as they do freeze the server for a second or two, Depending on it's task - Any fix for that ?


Thanks in advance.


Re: SQL Queries freezing the server. - -Prodigy- - 15.08.2013

Don't you think it would be wise to show some code?


Re: SQL Queries freezing the server. - Vince - 15.08.2013

Use threaded queries. Period. No silly workarounds.


Re: SQL Queries freezing the server. - Scenario - 15.08.2013

Quote:
Originally Posted by Vince
Посмотреть сообщение
Use threaded queries. Period. No silly workarounds.
This.


Re: SQL Queries freezing the server. - -CaRRoT - 15.08.2013

Sorry for this but I didn't actually explain it , I am using SQLite not SQL , I apologize for the inconvenience.