*Add data from r4bf7778333 to world_database.sql
*Add 22 sec internal cooldown to Lock and Load - by servet. --HG-- branch : trunk
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user