SA-MP Forums Archive
Mysql threaded queries. - 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: Mysql threaded queries. (/showthread.php?tid=603072)



Mysql threaded queries. - ScIrUsna - 18.03.2016

Hi,

I'am using threaded mysql queries and i have public where i use for strings


Код:
public OnQueryGetting( data[] )
{

}
in data i send any string i mean text what is the longest text i could send?


Re: Mysql threaded queries. - introzen - 18.03.2016

You have a max_allowed_packet defined on both client and server. If you haven't made your own sql script, just look on the source of the one you're using and you should find it. You can always declare the packet yourself, so sending bigger ones is possible.

Use this info for help: http://dev.mysql.com/doc/refman/5.0/...too-large.html