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

add SKIP LOCKED to UPDATE syntax

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • 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

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