mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 09:23:03 +01:00
Fixed CORE-5618 - Part of the pages of the second level blobs is not released when deleting relations
This commit is contained in:
parent
d0a190a16a
commit
98607316e5
@ -2495,7 +2495,7 @@ static void delete_tail(thread_db* tdbb, rhdf* header, const USHORT page_space,
|
||||
window.win_page = *page1;
|
||||
blob_page* bpage = (blob_page*) CCH_FETCH(tdbb, &window, LCK_read, pag_blob);
|
||||
ULONG* page2 = bpage->blp_page;
|
||||
const ULONG* const end2 = page2 + ((bpage->blp_length - BLP_SIZE) / sizeof(ULONG));
|
||||
const ULONG* const end2 = page2 + ((bpage->blp_length) / sizeof(ULONG));
|
||||
|
||||
while (page2 < end2)
|
||||
PAG_release_page(tdbb, PageNumber(page_space, *page2++), ZERO_PAGE_NUMBER);
|
||||
|
Loading…
Reference in New Issue
Block a user