MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / releaseRelations

Method releaseRelations

src/jrd/Attachment.cpp:932–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930}
931
932void Jrd::Attachment::releaseRelations(thread_db* tdbb)
933{
934 if (att_relations)
935 {
936 vec<jrd_rel*>* vector = att_relations;
937
938 for (vec<jrd_rel*>::iterator ptr = vector->begin(), end = vector->end(); ptr < end; ++ptr)
939 {
940 jrd_rel* relation = *ptr;
941
942 if (relation)
943 {
944 if (relation->rel_file)
945 EXT_fini(relation, false);
946
947 delete relation;
948 }
949 }
950 }
951}
952
953int Jrd::Attachment::blockingAstShutdown(void* ast_object)
954{

Callers 4

finiMethod · 0.80
release_attachmentFunction · 0.80
cache_writerMethod · 0.80
garbage_collectorMethod · 0.80

Calls 3

EXT_finiFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected