mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/DBLayer:
- Fix another pesky linux specific compile error. (Thanks to Derex/Aokromes) - Fix a typo in an assertion. (Thanks to Derex/Aokromes) - Add proper zero termination in SetStructuredValue to get rid of memory issues that arose in the last few commits. - Fix a crash caused by vsprintf´ing std::string in SystemMgr::LoadVersion() --HG-- branch : trunk
This commit is contained in:
@@ -43,7 +43,7 @@ void SystemMgr::LoadVersion()
|
||||
{
|
||||
Field* pFields = Result->Fetch();
|
||||
|
||||
sLog.outString("TSCR: Database version is: %s", pFields[0].GetString());
|
||||
sLog.outString("TSCR: Database version is: %s", pFields[0].GetCString());
|
||||
sLog.outString();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user