*Merged db_version and script_db_version table in one table - by Zor

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-01-19 17:38:03 +01:00
parent f62a24b2fd
commit a07f3af045
5 changed files with 15 additions and 4 deletions

View File

@@ -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'", _FULLVERSION);
sWorld.LoadDBVersion();
sLog.outString("Using %s", sWorld.GetDBVersion());