mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9904] Add new config option for wait mode at startup error.
Note: it not applied to crashes and shutdowns after mangosd/relamd startup completed. You can continue without delay (as now) and fast exist, or wait <Enter>, or some secs for continue. Last can be helpful for see for example not applied sql update revision data and etc.
This commit is contained in:
parent
f492ee6794
commit
aaa33d5385
10 changed files with 67 additions and 11 deletions
|
|
@ -4269,7 +4269,7 @@ void Player::DeleteOldCharacters(uint32 keepDays)
|
|||
QueryResult *resultChars = CharacterDatabase.PQuery("SELECT guid, deleteInfos_Account FROM characters WHERE deleteDate IS NOT NULL AND deleteDate < '" UI64FMTD "'", uint64(time(NULL) - time_t(keepDays * DAY)));
|
||||
if (resultChars)
|
||||
{
|
||||
sLog.outString("Player::DeleteOldChars: Found %u character(s) to delete",resultChars->GetRowCount());
|
||||
sLog.outString("Player::DeleteOldChars: Found %u character(s) to delete",uint32(resultChars->GetRowCount()));
|
||||
do
|
||||
{
|
||||
Field *charFields = resultChars->Fetch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue