mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[7815] Apply mangos code style: Replace tabs by spaces in recent added code.
This commit is contained in:
parent
8b163cca52
commit
803a815fa4
4 changed files with 5 additions and 5 deletions
|
|
@ -557,7 +557,7 @@ class World
|
||||||
static float m_VisibleObjectGreyDistance;
|
static float m_VisibleObjectGreyDistance;
|
||||||
|
|
||||||
// CLI command holder to be thread safe
|
// CLI command holder to be thread safe
|
||||||
ACE_Based::LockedQueue<CliCommandHolder*,ACE_Thread_Mutex> cliCmdQueue;
|
ACE_Based::LockedQueue<CliCommandHolder*,ACE_Thread_Mutex> cliCmdQueue;
|
||||||
SqlResultQueue *m_resultQueue;
|
SqlResultQueue *m_resultQueue;
|
||||||
|
|
||||||
// next daily quests reset time
|
// next daily quests reset time
|
||||||
|
|
@ -568,7 +568,7 @@ class World
|
||||||
|
|
||||||
//sessions that are added async
|
//sessions that are added async
|
||||||
void AddSession_(WorldSession* s);
|
void AddSession_(WorldSession* s);
|
||||||
ACE_Based::LockedQueue<WorldSession*, ACE_Thread_Mutex> addSessQueue;
|
ACE_Based::LockedQueue<WorldSession*, ACE_Thread_Mutex> addSessQueue;
|
||||||
|
|
||||||
//used versions
|
//used versions
|
||||||
std::string m_DBVersion;
|
std::string m_DBVersion;
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ bool Database::PExecuteLog(const char * format,...)
|
||||||
|
|
||||||
void Database::SetResultQueue(SqlResultQueue * queue)
|
void Database::SetResultQueue(SqlResultQueue * queue)
|
||||||
{
|
{
|
||||||
m_queryQueues[ACE_Based::Thread::current()] = queue;
|
m_queryQueues[ACE_Based::Thread::current()] = queue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -335,7 +335,7 @@ bool DatabaseMysql::CommitTransaction()
|
||||||
// don't use queued execution if it has not been initialized
|
// don't use queued execution if it has not been initialized
|
||||||
if (!m_threadBody)
|
if (!m_threadBody)
|
||||||
{
|
{
|
||||||
if (tranThread != ACE_Based::Thread::current())
|
if (tranThread != ACE_Based::Thread::current())
|
||||||
return false;
|
return false;
|
||||||
bool _res = _TransactionCmd("COMMIT");
|
bool _res = _TransactionCmd("COMMIT");
|
||||||
tranThread = NULL;
|
tranThread = NULL;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7814"
|
#define REVISION_NR "7815"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue