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

SELECT .. FOR UPDATE NOWAIT doesn't error with another connection (SELECT * FROM t1 FOR UPDATE) LIMIT 1

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3.28, 10.6
    • 10.6
    • Locking

    Description

      With

      (SELECT * FROM t1 FOR UPDATE) LIMIT 1;

      In one connection

      another connection

      SELECT * FROM t1 FOR UPDATE NOWAIT

      fails to ER_LOCK_WAIT_TIMEOUT

      test from https://github.com/mysql/mysql-server/commit/04059bab88cabf3d694cf04bee59d124ec068192

      (with lock error mapped to MariaDB)

      Attachments

        Activity

          People

            Unassigned Unassigned
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.