• Marko Mäkelä's avatar
    MDEV-21024: Optimize writing BTR_EXTERN_LEN · 98e1d603
    Marko Mäkelä authored
    btr_store_big_rec_extern_fields(): Remove the redundant initialization
    of the most significant 32 bits of BTR_EXTERN_LEN. InnoDB never supported
    BLOBs that are longer than 4GiB. In fact, dtuple_convert_big_rec()
    would write emit an error message if a clustered index record tuple would
    exceed 1,000,000,000 bytes in length.
    
    The BTR_EXTERN_LEN in the BLOB pointers in clustered index leaf page
    records is zero-initialized at least since
    commit 41bb3537
    98e1d603
btr0cur.cc 229 KB