From 145fe79c84f742106caed2744e2be527502ff3f5 Mon Sep 17 00:00:00 2001 From: hvlad Date: Sun, 15 Mar 2009 18:04:04 +0000 Subject: [PATCH] Release database triggers in MET_clear_cache --- src/jrd/met.epp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jrd/met.epp b/src/jrd/met.epp index 716cf51dc5..bef3b02e9b 100644 --- a/src/jrd/met.epp +++ b/src/jrd/met.epp @@ -524,6 +524,10 @@ void MET_clear_cache(thread_db* tdbb) Database* dbb = tdbb->getDatabase(); + for (int i = 0; i < DB_TRIGGER_MAX; i++) { + release_cached_triggers(tdbb, dbb->dbb_triggers[i]); + } + vec* relations = dbb->dbb_relations; { // scope vec::iterator ptr, end;