• qingda2019's avatar
    MDEV-13942 InnoDB SPATIAL INDEX corruption during root page split · 1214674b
    qingda2019 authored
    The problem is in rtr_adjust_upper_level(), which allocates node_ptr
    from heap, and then passes the same heap to btr_cur_pessimistic_insert().
    The documentation of btr_cur_pessimistic_insert() says that the heap can
    be emptied. If the heap is emptied and something else is allocated from
    the heap, the node_ptr can become corrupted.
    1214674b
gis0rtree.cc 55.4 KB