*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

@@ -630,7 +630,7 @@ void LoadDatabase()
QueryResult *result;
//Get Version information
result = TScriptDB.PQuery("SELECT version FROM script_db_version");
result = TScriptDB.PQuery("SELECT script_version FROM version LIMIT 1");
if (result)
{
@@ -641,7 +641,7 @@ void LoadDatabase()
}else
{
error_log("TSCR: Missing `script_db_version` information.");
error_log("TSCR: Missing `version.script_version` information.");
outstring_log("");
}