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

release external files after table deletion

This commit is contained in:
awharrison 2001-09-18 19:12:25 +00:00
parent c1bcc741ab
commit 44ce362c3a

View File

@ -63,6 +63,7 @@
#include "../jrd/dsc_proto.h"
#include "../jrd/err_proto.h"
#include "../jrd/exe_proto.h"
#include "../jrd/ext_proto.h"
#include "../jrd/gds_proto.h"
#include "../jrd/grant_proto.h"
#include "../jrd/idx_proto.h"
@ -2538,6 +2539,9 @@ static BOOLEAN delete_relation(TDBB tdbb,
relation->rel_gc_bitmap = NULL_PTR;
}
#endif
if (relation->rel_file)
EXT_fini (relation);
if (relation->rel_index_root)
IDX_delete_indices(tdbb, relation);