diff options
author | QAston <none@none> | 2010-07-31 20:11:07 +0200 |
---|---|---|
committer | QAston <none@none> | 2010-07-31 20:11:07 +0200 |
commit | c26c128ba6d05d4692c01c469a32a726f4f897cf (patch) | |
tree | 63f9a2545790314bcc7b2d85aad763435f36d26f /src | |
parent | 9d93ebc8b7d92a7e48b45f7bc52c9f14d90d46a9 (diff) |
*Add data from r4bf7778333 to world_database.sql
*Add 22 sec internal cooldown to Lock and Load - by servet.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/shared/DataStores/DBCStore.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/shared/DataStores/DBCStore.h b/src/server/shared/DataStores/DBCStore.h index cd1d1881d68..a1a8413b6d6 100644 --- a/src/server/shared/DataStores/DBCStore.h +++ b/src/server/shared/DataStores/DBCStore.h @@ -85,13 +85,14 @@ class DBCStorage Field *fields = NULL; QueryResult_AutoPtr result = QueryResult_AutoPtr(NULL); // Load data from sql - if (sql) + if (false/*sql*/) { std::string query = "SELECT * FROM " + sql->sqlTableName; if (sql->indexPos >= 0) - query +=" ORDER BY + " + *sql->indexName + " DESC"; + query +=" ORDER BY " + *sql->indexName + " DESC"; query += ";"; + /* result = WorldDatabase.Query(query.c_str()); if (result) { @@ -107,7 +108,7 @@ class DBCStorage sLog.outError("Invalid index pos for dbc:'%s'", sql->sqlTableName.c_str()); return false; } - } + }*/ } char * sqlDataTable; fieldCount = dbc.GetCols(); |