diff options
author | Nikita Malyavin <nikitamalyavin@gmail.com> | 2023-01-11 18:57:44 +0300 |
---|---|---|
committer | Nikita Malyavin <nikitamalyavin@gmail.com> | 2023-01-12 21:51:48 +0300 |
commit | 7a98d232e42b66efc759d584b05214e91681c346 (patch) | |
tree | ae182cc4f354717c04f6e68faaefff85eb61f721 /mysql-test/main/view_grant.test | |
parent | eb145e5ad7afa29f1d298452b80fcca36a6c3bbe (diff) | |
download | mariadb-git-7a98d232e42b66efc759d584b05214e91681c346.tar.gz |
MDEV-30378 Versioned REPLACE succeeds with ON DELETE RESTRICT constraint
node->is_delete was incorrectly set to NO_DELETE for a set of operations.
In general we shouldn't rely on sql_command and look for more abstract ways
to control the behavior.
trg_event_map seems to be a suitable way. To mind replica nodes, it is ORed
with slave_fk_event_map, which stores trg_event_map when replica has
triggers disabled.
Diffstat (limited to 'mysql-test/main/view_grant.test')
0 files changed, 0 insertions, 0 deletions