• Marko Mäkelä's avatar
    MDEV-28422 Page split breaks a gap lock · 0806592a
    Marko Mäkelä authored
    btr_insert_into_right_sibling(): Inherit any gap lock from the
    left sibling to the right sibling before inserting the record
    to the right sibling and updating the node pointer(s).
    
    lock_update_node_pointer(): Update locks in case a node pointer
    will move.
    
    Based on mysql/mysql-server@c7d93c274fdc5c56e36458fa4000fa3a483ffffd
    0806592a
btr0btr.cc 152 KB