diff options
author | megamage <none@none> | 2009-01-19 20:26:49 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-19 20:26:49 -0600 |
commit | 1bbd8968615e4b89fe4549bd1cccd089f6ad38f0 (patch) | |
tree | 03fac7e4fc28dd1ee822faf923dd7475003e13ae /src/trinitycore/Master.cpp | |
parent | 40e7dcb599c1e596151356a4cc4d6f641bc1ec05 (diff) | |
parent | d1f6472e2bb6c55d6e837eefdeb7efdd10018a81 (diff) |
*Update to trinity 921.
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore/Master.cpp')
-rw-r--r-- | src/trinitycore/Master.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp index ed526f497c3..938f1753c0b 100644 --- a/src/trinitycore/Master.cpp +++ b/src/trinitycore/Master.cpp @@ -458,6 +458,9 @@ bool Master::_StartDB() ///- Clean the database before starting clearOnlineAccounts(); + ///- Insert version info into DB + WorldDatabase.PExecute("UPDATE `version` SET `core_version` = '%s', `core_rev` = '%s'", _FULLVERSION, _REVISION); + sWorld.LoadDBVersion(); sLog.outString("Using %s", sWorld.GetDBVersion()); |