8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Fixed CORE-3978: Invalid transaction counters may be reported in firebird.log during the sweep.

This commit is contained in:
dimitr 2012-11-13 09:42:11 +00:00
parent 123d5b0a40
commit 41925536c7

View File

@ -3376,7 +3376,7 @@ TraceSweepEvent::TraceSweepEvent(thread_db* tdbb)
gds__log("Sweep is started by %s\n"
"\tDatabase \"%s\" \n"
"\tOIT %lu, OAT %lu, OST %lu, Next %lu",
"\tOIT %"ULONGFORMAT", OAT %"ULONGFORMAT", OST %"ULONGFORMAT", Next %"ULONGFORMAT,
att->att_user->usr_user_name.c_str(),
att->att_filename.c_str(),
m_sweep_info.getOIT(),
@ -3465,7 +3465,7 @@ void TraceSweepEvent::report(ntrace_process_state_t state)
{
gds__log("Sweep is finished\n"
"\tDatabase \"%s\" \n"
"\tOIT %lu, OAT %lu, OST %lu, Next %lu",
"\tOIT %"ULONGFORMAT", OAT %"ULONGFORMAT", OST %"ULONGFORMAT", Next %"ULONGFORMAT,
att->att_filename.c_str(),
m_sweep_info.getOIT(),
m_sweep_info.getOAT(),