• Eugene Kosov's avatar
    MDEV-19486 Server crashes in row_upd or row_upd_del_mark_clust_rec on REPLACE... · 48a662da
    Eugene Kosov authored
    MDEV-19486 Server crashes in row_upd or row_upd_del_mark_clust_rec on REPLACE into a versioned table
    
    row_insert_for_mysql(): InnoDB sets values for row_start and row_end.
    And this function used to return those values to server in
    ha_innobase::write_row().  This buggy behavior was removed. Also,
    a piece of code in this function was reformatted.
    
    upd_node_t::make_versioned_helper(): Assert that the preallocated size
    of the update vector is not exceeded.
    48a662da
row0upd.cc 92.7 KB