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

Bulk Insert (Column-wise Binding) doesn't insert all required rows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2.24, 10.4.6
    • Fix Version/s: 10.2, 10.4
    • Component/s: Triggers
    • Labels:
      None
    • Environment:
      centos 7.5 + db 10.2.24, ubuntu 18.04 + db 10.4.6

      Description

      I try to insert 3 rows into "warning" table.
      This table has trigger "after insert" that can insert 1 row into "unit_fault" table.

      For example, after the second "warning" row trigger inserts 1 row into "unit_fault" table. it causes that the third "warning" row will not be inserted.

      Triggered insert seems to break main insert without any errors.

        Attachments

        1. 1.sql
          0.8 kB
        2. db_main.cc
          2 kB

          Activity

            People

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            diany Feral Diana
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.