MYSQL Update - 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 Update (
/showthread.php?tid=645791)
MYSQL Update -
Hunud - 04.12.2017
Hi guys,
Since I decide i will update my server from 2 version older mysql to newer version, i have no idea on what i have to keep eye or what should i do while converting to newer version.
Should i just replace mysql.inc or i need to do something inside script. Thanks
Re: MYSQL Update -
NaS - 04.12.2017
Take a look at both Includes (specifically at the most important natives you use, like mysql_(function_)query or mysql_retrieve_row).
IIRC the newer version passes almost all values by reference, instead of returning the value. But I'm not sure which version introduced that change.
Just compare them and you will see if and what has to be changed.
You can also just try to switch the includes to the new version and compile, the errors/warnings might already tell you what has to be done.
Not sure which Plugin you use, but you can also take a look at the Changelog. That should also tell you the most important changes since the version you used before.
Re: MYSQL Update -
Hunud - 04.12.2017
Thanks, that's what i was looking for.