SA-MP Forums Archive
Consequences of no mysql_close in OnGameModeExit? - 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: Consequences of no mysql_close in OnGameModeExit? (/showthread.php?tid=376552)



Consequences of no mysql_close in OnGameModeExit? - iTorran - 10.09.2012

The machine our server is hosted on uses Debian, which has an annoying habit of crashing the SA-MP server whenever we use mysql_close(). So for now (and for a while) we can't restart the server from in-game, but only from the machine. So, I am making this topic to see what the consequences would be if we did not include mysql_close() in OnGameModeExit?


Re: Consequences of no mysql_close in OnGameModeExit? - iTorran - 12.09.2012

Bump


Re: Consequences of no mysql_close in OnGameModeExit? - HairStyle - 12.09.2012

This function closes only the database connection .. for example in my server i never used it.. i think there is no problem if you use it or not