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

add SKIP LOCKED to UPDATE syntax

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      As being discussed in MDEV-13115. It would be great if the UPDATE syntax would allow for the SKIP LOCKED instruction similar on how it's implemented for SELECT * FROM x FOR UPDATE SKIP LOCKED.
      For example:

      UPDATE tableX SET col1=1 SKIP LOCKED

      Which would update all records in tableX which rows aren't currently locked.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              olafbuitelaar Olaf Buitelaar
              Votes:
              2 Vote for this issue
              Watchers:
              6 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.