Part of the pages of the second level blobs is not released when deleting 
relations.
------------------------------------------------------------------------------------

                 Key: CORE-5618
                 URL: http://tracker.firebirdsql.org/browse/CORE-5618
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.2
            Reporter: Denis Logashov


Problem in the function "delete_tail" in the block where the pages of blobs of 
the second level are released. When you get the end of data containing page 
numbers of second-level blobs, you do not need to subtract the header size, 
otherwise 7 pages remain occupied.

const ULONG * const end2 = page2 + ((bpage-> blp_length - BLP_SIZE) / sizeof 
(ULONG));

If I'm right I prepare a pull request.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to