mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
Fixed comment text and code indentifiers spelling.
GetFieldNames part provided by Paradox.
This commit is contained in:
parent
4957d9f335
commit
4476d483d4
16 changed files with 192 additions and 193 deletions
|
|
@ -33,7 +33,7 @@ class MANGOS_DLL_SPEC QueryResult
|
|||
|
||||
uint32 GetField_idx(const std::string &name) const
|
||||
{
|
||||
for(FieldNames::const_iterator iter = GetFiedNames().begin(); iter != GetFiedNames().end(); ++iter)
|
||||
for(FieldNames::const_iterator iter = GetFieldNames().begin(); iter != GetFieldNames().end(); ++iter)
|
||||
{
|
||||
if(iter->second == name)
|
||||
return iter->first;
|
||||
|
|
@ -53,7 +53,7 @@ class MANGOS_DLL_SPEC QueryResult
|
|||
|
||||
uint32 GetFieldCount() const { return mFieldCount; }
|
||||
uint64 GetRowCount() const { return mRowCount; }
|
||||
FieldNames const& GetFiedNames() const {return mFieldNames; }
|
||||
FieldNames const& GetFieldNames() const {return mFieldNames; }
|
||||
|
||||
protected:
|
||||
Field *mCurrentRow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue