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

Release database triggers in MET_clear_cache

This commit is contained in:
hvlad 2009-03-15 18:04:04 +00:00
parent 28d95eb4b7
commit 145fe79c84

View File

@ -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<jrd_rel*>* relations = dbb->dbb_relations;
{ // scope
vec<jrd_rel*>::iterator ptr, end;