SA-MP Forums Archive
Random letter getting changed in MySQL query - 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: Random letter getting changed in MySQL query (/showthread.php?tid=449147)



Random letter getting changed in MySQL query - notshowbiz - 07.07.2013

Alright so I'm executing SELECT FROM and UPDATE SET in one command. Both are storing the results and freeing results before reaching each other. When I execute UPDATE SET first, SELECT FROM ceases to work and when I execute SELECT FROM first, UPDATE SET works fine but changes the second single character in the update to "P" consistently. IT DOES NOT DO THIS IF EXECUTED FIRST. Very strange issue, any answers??


Re: Random letter getting changed in MySQL query - Vince - 07.07.2013

Use threaded queries.