mirror of https://github.com/MariaDB/server
Browse Source
in row_update_for_mysql
932ec586
(MDEV-23644) in TABLE::delete_row() added ha_delete_row() for
the case of HA_ERR_FOREIGN_DUPLICATE_KEY. The problem is
ha_update_row() called beforewards may change m_last_part which is
required for ha_delete_row() to delete from correct partition.
The fix reverts m_last_part in case ha_partition::update_row() fails.
pull/3951/head
committed by
Sergei Golubchik
3 changed files with 32 additions and 1 deletions
Loading…
Reference in new issue