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:
parent
24db5cd29e
commit
e5754b11cb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user