mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
release external files after table deletion
This commit is contained in:
parent
c1bcc741ab
commit
44ce362c3a
@ -63,6 +63,7 @@
|
|||||||
#include "../jrd/dsc_proto.h"
|
#include "../jrd/dsc_proto.h"
|
||||||
#include "../jrd/err_proto.h"
|
#include "../jrd/err_proto.h"
|
||||||
#include "../jrd/exe_proto.h"
|
#include "../jrd/exe_proto.h"
|
||||||
|
#include "../jrd/ext_proto.h"
|
||||||
#include "../jrd/gds_proto.h"
|
#include "../jrd/gds_proto.h"
|
||||||
#include "../jrd/grant_proto.h"
|
#include "../jrd/grant_proto.h"
|
||||||
#include "../jrd/idx_proto.h"
|
#include "../jrd/idx_proto.h"
|
||||||
@ -2538,6 +2539,9 @@ static BOOLEAN delete_relation(TDBB tdbb,
|
|||||||
relation->rel_gc_bitmap = NULL_PTR;
|
relation->rel_gc_bitmap = NULL_PTR;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (relation->rel_file)
|
||||||
|
EXT_fini (relation);
|
||||||
|
|
||||||
if (relation->rel_index_root)
|
if (relation->rel_index_root)
|
||||||
IDX_delete_indices(tdbb, relation);
|
IDX_delete_indices(tdbb, relation);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user