1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-28 17:36:30 +03:00
Files
mariadb/mysql-test/suite/versioning/r
Aleksey Midenkov fe618de691 MDEV-31313 SYSTEM VERSIONING and FOREIGN KEY CASCADE create orphan rows on replica
Constraints processing row_ins_check_foreign_constraint() was not
called because row_upd_check_references_constraints() didn't see
update as delete: node->is_delete was false.

Since MDEV-30378 we check for TRG_EVENT_DELETE to detect versioned
delete in ha_innobase::update_row().

Now we can use TRG_EVENT_DELETE to set upd_node->is_delete, so
constraints processing is triggered correctly.
2023-07-20 18:22:30 +03:00
..
2023-01-03 16:10:02 +02:00
2022-09-13 16:36:38 +03:00
2020-10-22 13:27:18 +03:00
2023-01-03 16:10:02 +02:00
2023-01-13 09:28:25 +02:00
2019-03-27 13:27:04 +02:00
2022-09-13 16:36:38 +03:00
2022-10-25 10:04:37 +03:00
2020-05-30 11:04:27 +03:00
2020-10-22 13:27:18 +03:00
2021-07-31 22:59:58 +02:00
2022-09-13 16:36:38 +03:00
2019-10-10 00:20:34 +03:00
2022-04-06 08:59:09 +03:00