* Fixed thread deadlock by disabling logging DB errors to DB... Heh.
--HG-- branch : trunk
This commit is contained in:
@@ -447,6 +447,7 @@ void Log::outErrorDb( const char * err, ... )
|
|||||||
if( !err )
|
if( !err )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/*
|
||||||
if (m_enableLogDB)
|
if (m_enableLogDB)
|
||||||
{
|
{
|
||||||
va_list ap2;
|
va_list ap2;
|
||||||
@@ -456,6 +457,7 @@ void Log::outErrorDb( const char * err, ... )
|
|||||||
outDB(LOG_TYPE_DBERR, nnew_str);
|
outDB(LOG_TYPE_DBERR, nnew_str);
|
||||||
va_end(ap2);
|
va_end(ap2);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if(m_colored)
|
if(m_colored)
|
||||||
SetColor(false,RED);
|
SetColor(false,RED);
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ enum LogTypes
|
|||||||
LOG_TYPE_RA = 7,
|
LOG_TYPE_RA = 7,
|
||||||
LOG_TYPE_GM = 8,
|
LOG_TYPE_GM = 8,
|
||||||
LOG_TYPE_PACKET = 9,
|
LOG_TYPE_PACKET = 9,
|
||||||
LOG_TYPE_DBERR = 10,
|
|
||||||
MAX_LOG_TYPES
|
MAX_LOG_TYPES
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user