diff options
author | Naios <naios-dev@live.de> | 2015-03-21 00:25:21 +0100 |
---|---|---|
committer | Nayd <dnpd.dd@gmail.com> | 2015-03-21 14:09:38 +0000 |
commit | 352012e53173372ebc82898e1b6854c983b01b25 (patch) | |
tree | d5e89b1d42749075fe38fec76148129657e4bbaf /revision.h.in.cmake | |
parent | 127d8a2bcc5acdcc909c7812a53e40d8dc79e437 (diff) |
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 <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
Diffstat (limited to 'revision.h.in.cmake')
-rw-r--r-- | revision.h.in.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/revision.h.in.cmake b/revision.h.in.cmake index f50c8022062..c0eb651489f 100644 --- a/revision.h.in.cmake +++ b/revision.h.in.cmake @@ -3,6 +3,9 @@ #define _HASH "@rev_hash@" #define _DATE "@rev_date@" #define _BRANCH "@rev_branch@" + #define _SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@" + #define _MYSQL_EXECUTABLE "@MYSQL_EXECUTABLE@" + #define _FULL_DATABASE "TDB_full_6.00_2014_10_19.sql" #define VER_COMPANYNAME_STR "TrinityCore Developers" #define VER_LEGALCOPYRIGHT_STR "(c)2008-2015 TrinityCore" #define VER_FILEVERSION 0,0,0 |