1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/mysql-test/suite/versioning/t
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-01-30 09:46:52 +01:00
2022-04-06 08:59:09 +03:00
2023-01-03 16:10:02 +02:00
2023-01-13 09:28:25 +02:00
2022-10-25 10:04:37 +03:00
2021-07-31 22:59:58 +02:00
2022-01-30 09:46:52 +01:00
2022-04-06 08:59:09 +03:00