8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00
This commit is contained in:
dimitr 2009-03-31 04:14:31 +00:00
parent 281981275e
commit 712c68d5a0

View File

@ -1112,6 +1112,9 @@ void TRA_release_transaction(thread_db* tdbb, jrd_tra* transaction)
{
switch (rsc->rsc_type)
{
case Resource::rsc_relation:
MET_release_existence(tdbb, rsc->rsc_rel);
break;
case Resource::rsc_procedure:
CMP_decrement_prc_use_count(tdbb, rsc->rsc_prc);
break;
@ -1119,8 +1122,7 @@ void TRA_release_transaction(thread_db* tdbb, jrd_tra* transaction)
rsc->rsc_coll->decUseCount(tdbb);
break;
default:
MET_release_existence(tdbb, rsc->rsc_rel);
break;
fb_assert(false);
}
}