mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
GTT related bugfix
This commit is contained in:
parent
71f8c047be
commit
3843604cd0
@ -6047,14 +6047,17 @@ static void release_attachment(Attachment* attachment)
|
||||
}
|
||||
|
||||
#ifdef SUPERSERVER
|
||||
vec<jrd_rel*>& rels = *dbb->dbb_relations;
|
||||
for (size_t i = 1; i < rels.count(); i++)
|
||||
if (dbb->dbb_relations)
|
||||
{
|
||||
jrd_rel* relation = rels[i];
|
||||
if (relation && (relation->rel_flags & REL_temp_conn) &&
|
||||
!(relation->rel_flags & (REL_deleted | REL_deleting)) )
|
||||
vec<jrd_rel*>& rels = *dbb->dbb_relations;
|
||||
for (size_t i = 1; i < rels.count(); i++)
|
||||
{
|
||||
relation->delPages(tdbb);
|
||||
jrd_rel* relation = rels[i];
|
||||
if (relation && (relation->rel_flags & REL_temp_conn) &&
|
||||
!(relation->rel_flags & (REL_deleted | REL_deleting)) )
|
||||
{
|
||||
relation->delPages(tdbb);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user