aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts/ScriptMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-19 20:26:49 -0600
committermegamage <none@none>2009-01-19 20:26:49 -0600
commit1bbd8968615e4b89fe4549bd1cccd089f6ad38f0 (patch)
tree03fac7e4fc28dd1ee822faf923dd7475003e13ae /src/bindings/scripts/ScriptMgr.cpp
parent40e7dcb599c1e596151356a4cc4d6f641bc1ec05 (diff)
parentd1f6472e2bb6c55d6e837eefdeb7efdd10018a81 (diff)
*Update to trinity 921.
--HG-- branch : trunk
Diffstat (limited to 'src/bindings/scripts/ScriptMgr.cpp')
-rw-r--r--src/bindings/scripts/ScriptMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp
index 5876fa63b06..cbfda734989 100644
--- a/src/bindings/scripts/ScriptMgr.cpp
+++ b/src/bindings/scripts/ScriptMgr.cpp
@@ -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("");
}