1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/mysql-test/suite
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
..
2022-09-13 16:36:38 +03:00
2022-10-01 23:07:26 +02:00
2023-03-23 21:07:32 +03:00
2022-12-13 11:37:33 +02:00
2023-06-07 15:08:29 +02:00
2022-05-08 23:03:08 +02:00
2022-09-13 16:36:38 +03:00
2022-11-08 16:04:01 +02:00
2022-12-13 11:37:33 +02:00
2023-01-03 16:10:02 +02:00
2022-11-27 05:11:39 +10:00
2022-10-25 10:04:37 +03:00
2023-06-02 17:51:02 +02:00
2023-01-03 16:10:02 +02:00
2022-05-08 23:03:08 +02:00