• Marko Mäkelä's avatar
    MDEV-23198 Crash in REPLACE · f35d1721
    Marko Mäkelä authored
    row_vers_impl_x_locked_low(): clust_offsets may point to memory
    that is allocated by mem_heap_alloc() and may have been freed.
    For initializing clust_offsets, try to use the stack-allocated
    buffer instead of a pointer that may point to freed memory.
    
    This fixes a regression that was introduced in
    commit f0aa073f (MDEV-20950).
    f35d1721
mvcc.test 1.59 KB