• Marko Mäkelä's avatar
    Bug #55284 diagnostics: Introduce UNIV_BLOB_LIGHT_DEBUG, enabled by UNIV_DEBUG · 5adf2313
    Marko Mäkelä authored
    btr_rec_get_field_ref_offs(), btr_rec_get_field_ref(): New functions.
    Get the pointer to an externally stored field.
    
    btr_cur_set_ownership_of_extern_field(): Assert that the BLOB has not
    already been disowned.
    
    btr_store_big_rec_extern_fields(): Rename to
    btr_store_big_rec_extern_fields_func() and add the debug parameter
    update_in_place. All pointers to externally stored columns in the
    record must either be zero or they must be pointers to inherited
    columns, owned by this record or an earlier record version. For any
    BLOB that is stored, the BLOB pointer must previously have been
    zero. When the function completes, all BLOB pointers must be nonzero
    and owned by the record.
    
    rb://549 approved by Jimmy Yang
    5adf2313
row0ins.c 64.8 KB