• Sergey Vojtovich's avatar
    Applying InnoDB snapshot, fixes BUG#49535. · 67925345
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6674 | inaam | 2010-02-11 17:54:44 +0200 (Thu, 11 Feb 2010) | 16 lines
    branches/zip bug# 49535
    
    This is a backport of r4924.
    mem_heap_get_size() scans all allocated blocks to calculate the total
    size of the heap. This patch introduces a new, total_size, field in
    mem_block_info_struct. This field is valid only for base block 
    (i.e.: the first block allocated for the heap) and is set to
    ULINT_UNDEFINED in other blocks.
    This considerably improves the performance of redo scan during recovery.
    
    rb://108 issue#216
    
    Approved by: Heikki
    67925345
mem0mem.ic 16.5 KB