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

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.6, 10.3.28
    • Fix Version/s: 10.3
    • Component/s: Locking
    • Labels:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration