• Marko Mäkelä's avatar
    MDEV-12353: Optimize page_cur_delete_rec() logging · 3887daf8
    Marko Mäkelä authored
    page_mem_free(): When deleting the last record of a page,
    do not add it to the PAGE_FREE list, but instead truncate the
    PAGE_HEAP_TOP. Modify the page header fields by writing fewer
    records.
    
    page_cur_delete_rec(): Let page_mem_free() reset the PAGE_LAST_INSERT.
    
    page_header_reset_last_insert(): Issue memset(), not memcpy(), for
    the ROW_FORMAT=COMPRESSED page.
    3887daf8
page0cur.cc 65.9 KB