Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34432

1442 error on DML with updatable view

    XMLWordPrintable

Details

    Description

      I'm having

      /* SQL Error (1442): Can't update table 't2' in stored function/trigger because it is already used by statement which invoked this stored function/trigger */

      error while trying to insert into updatable view that has condition on other table which is modified by insert trigger. Same technique works in Oracle without any problem.
      Is that a designed behavior in MariaDB or it could be treated as a bug? Can you propose some workaround?
      Platform is Winx64, version: 11.4.2.

      Attachments

        Activity

          People

            Unassigned Unassigned
            balta Tadas Balaišis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.