Commit Graph
7 Commits
Author SHA1 Message Date
glkrlos c1bd3282f8 Core/Updater: Fix issues when connecting through unix sockets.
* closes #14766
* closes #14759

Signed-off-by: Naios <[email protected]>
2015-05-28 18:28:04 +02:00
Shauren 0c3231a239 Removed unused include 2015-04-20 18:53:08 +02:00
Naios 455eee9392 Core/DBUpdater: Exit clean if a query failed to apply.
* Fix some \W4 warnings about constructors.

(cherry picked from commit de490674ff1205d908301b94f5644247562b43cb)
2015-04-05 00:25:20 +02:00
Naios 966282fbed Core/DBUpdater: Add the possibility to limit the remove of orphaned entries.
* This will save you from loosing your update history if you use a repository in bad state (revision or branch) by mistake.
* Also turned 1 error message into a warning
2015-03-24 12:31:52 +01:00
Naios 8e48ef7863 Core/DBUpdater: Use correct uint64 to store timestamps.
* Thanks @Shauren for pointing out.
* Also removes an invalid argument thanks @jackpoz for noticing.
2015-03-22 01:28:50 +01:00
Nayd 5be0cf7120 TDB 6.0.1 - 2015/03/21
Closes #13816
Closes #13792

Ref #14139
2015-03-21 17:09:25 +00:00
Naios 352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <[email protected]>
Signed-off-by: Nayd <[email protected]>
2015-03-21 14:09:38 +00:00