From 712c68d5a0e84ee5bdb2579a8eab052b673a89d9 Mon Sep 17 00:00:00 2001 From: dimitr Date: Tue, 31 Mar 2009 04:14:31 +0000 Subject: [PATCH] Misc. --- src/jrd/tra.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/jrd/tra.cpp b/src/jrd/tra.cpp index 904268d288..be0f30335c 100644 --- a/src/jrd/tra.cpp +++ b/src/jrd/tra.cpp @@ -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); } }