• Marko Mäkelä's avatar
    Add the parameter bool leaf to rec_get_offsets() · 48192f96
    Marko Mäkelä authored
    This should affect debug builds only. Debug builds will check that
    the status bits of ROW_FORMAT!=REDUNDANT records match the is_leaf
    parameter.
    
    The only observable change to non-debug should be the addition of
    the is_leaf parameter to the function rec_copy_prefix_to_dtuple(),
    and the removal of some calls to update the adaptive hash index
    (it is only built for the leaf pages).
    
    This change should have been made in MySQL 5.0.3, instead of
    introducing the status flags in the ROW_FORMAT=COMPACT record header.
    48192f96
row0uins.cc 14.7 KB