• Marko Mäkelä's avatar
    MDEV-11369: Introduce REC_STATUS_COLUMNS_ADDED · fbe49648
    Marko Mäkelä authored
    For ROW_FORMAT=DYNAMIC and ROW_FORMAT=COMPACT records, we have to
    identify whether the record contains more columns than when the
    clustered index tree was originally created. In this case, the
    number of fields
    (FIXME: number_of_added_fields-1, not the total number of fields)
    needs to be written to the record header.
    
    rec_comp_status_t: An enum of the status bit values.
    
    rec_leaf_format: An enum that replaces the bool parameter of
    rec_init_offsets_comp_ordinary().
    
    rec_get_converted_size_comp(): Do not support infimum,supremum.
    They are never supposed to be stored in dtuple_t, as page creation
    nowadays uses a lower-level method for inserting them.
    
    innobase_add_instant_try(): Initialize the dtuple_t::info_bits
    appropriately to REC_INFO_MIN_REC_FLAG | REC_STATUS_COLUMNS_ADDED
    so that it can be inserted into a ROW_FORMAT!=REDUNDANT table.
    fbe49648
rem0rec.h 42.6 KB