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

Atomic CoR changed ER_TRUNCATE_ILLEGAL_FK code and broke DBAL

    XMLWordPrintable

Details

    • Bug
    • Status: Approved (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 13.2
    • 13.2
    • Server
    • Not for Release Notes

    Description

      MDEV-25292 changed the ER_TRUNCATE_ILLEGAL_FK to just use a new code ER_DDL_ILLEGAL_FK.

      This broke the PHP DBAL (DB Abstraction Layer) test cases that rely on the ER_TRUNCATE_ILLEGAL_FK in their test suite to process FK errors.

      While DBAL have added the ER_DDL_ILLEGAL_FK to handle CREATE OR REPLACE error code when FK are involved, the ER_TRUNCATE_ILLEGAL_FK should remain there for compatibility with the released DBAL code.

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              danblack Daniel Black
              Michael Widenius Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d

                  Git Integration

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