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

Honor constraints on UPDATE CASCADE

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      This will fix

      • CHECK constraints
      • UNIQUE constraints WITHOUT OVERLAP
      • UNIQUE constraints that are USING HASH (a.k.a. "long unique")

      Existing cases for WITHOUT OVERLAPS, CHECK are in MDEV-22602 (762bf7a03b6214f091a66ca8683df341112d7d4a) as well as disabled long-uniques (see test case of commit).

      UPDATE must abort if the constraints fail. Long uniques must be rehashed and updated.

      Attachments

        Issue Links

          Activity

            People

              midenok Aleksey Midenkov
              midenok Aleksey Midenkov
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 5d
                  5d
                  Remaining:
                  Remaining Estimate - 5d
                  5d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Git Integration

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