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

MySQL Bug#11757486:49539: NON-DESCRIPTIVE ERR (ERROR 0 FROM STORAGE ENGINE) WITH MULTI-TABLE UPDATE

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.9
    • 10.0.26
    • OTHER
    • None

    Description

      Test case for MySQL " Bug#11757486:49539: NON-DESCRIPTIVE ERR (ERROR 0 FROM STORAGE ENGINE) WITH MULTI-TABLE UPDATE" fails in 10.0.

      Note that MariaDB returns proper error message. The problem is that IGNORE has no effect in multi-table update.

      Relevant revision:

      revno: 3803.1.9
      committer: Nisha Gopalakrishnan <nisha.gopalakrishnan@oracle.com>
      branch nick: mysql-trunk-11757486
      timestamp: Thu 2012-05-10 14:19:23 +0530
      message:
        Bug#11757486:49539: NON-DESCRIPTIVE ERR (ERROR 0 FROM STORAGE ENGINE) WITH
                            MULTI-TABLE UPDATE
       
        Analysis:
        ---------
        Multiple-table UPDATE statement with IGNORE keyword in strict mode
        having invalid or missing values could trigger an assertion in debug
        mode. However on a release build, the query execution fails reporting
        inappropriate errors.
       
        The multiple-table UPDATE does not test for IGNORE to decide
        whether the query should be aborted in case of any warning.This causes
        the warning to be converted to error(STRICT MODE behavior). However
        since the errors are to be suppressed due to the IGNORE keyword, the
        diagnostic area is not set to DA_ERROR.
       
        Since the diagnostic area remains DA_EMPTY, an ASSERT is triggered
        which causes the mysqld to crash on a debug build. On a release build
        the query execution fails with incorrect errors being reported.
       
        Fix:
        ---
        To test for IGNORE during the execution of the multiple-table UPDATE
        statement. This causes the successful execution of the query with
        appropriate warnings being reported.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Oleksandr Byelkin made transition -
            Open In Progress
            814d 23h 55m 1
            Oleksandr Byelkin made transition -
            In Progress Stalled
            40m 14s 1
            Oleksandr Byelkin made transition -
            Stalled In Review
            3h 33m 1
            Oleksandr Byelkin made transition -
            Stalled In Progress
            13m 31s 1
            Oleksandr Byelkin made transition -
            In Progress In Review
            1h 6m 1
            Sergei Golubchik made transition -
            In Review Stalled
            23h 14m 2
            Oleksandr Byelkin made transition -
            Stalled Closed
            10m 10s 1

            People

              sanja Oleksandr Byelkin
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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