diff options
author | Naios <naios-dev@live.de> | 2016-03-03 01:19:58 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-03-03 01:19:58 +0100 |
commit | 62815c6e1c0427e1d0229d02b1ba70449654cded (patch) | |
tree | 56d051347d9409f3edc247b67353adf0751fac16 /src/server/authserver/Main.cpp | |
parent | 09fa0ab46a487ea85d475ac0b3495724c170fe1a (diff) |
Core/Database: Use RAII for resource management in MySQLConnection
* Prevents double deletion of MySQLConnection after errors
* The object stays valid after an error and will wait for a reconnect
* Also crash the server if 5 reconnects fail
* Corrects an issue where the server was crashed after one reconnect
because mysql_thread_id was invoked with an invalid handle
Diffstat (limited to 'src/server/authserver/Main.cpp')
0 files changed, 0 insertions, 0 deletions