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

Backported fix for CORE-5610: Provide info about database (or alias) which was in use during "Error during sweep: connection shutdown"

This commit is contained in:
AlexPeshkoff 2017-09-20 13:18:25 +03:00
parent 24db5cd29e
commit e5754b11cb

View File

@ -1864,10 +1864,13 @@ void TRA_sweep(thread_db* tdbb)
tdbb->tdbb_flags &= ~TDBB_sweeper;
tdbb->setTransaction(tdbb_old_trans);
dbb->clearSweepFlags(tdbb);
} // try
}
catch (const Firebird::Exception& ex)
{
iscLogException("Error during sweep:", ex);
PathName message = "Error during sweep of ";
message += dbb->dbb_database_name;
message += ':';
iscLogException(message.c_str(), ex);
ex.stuffException(tdbb->tdbb_status_vector);