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

Feature Request: microseconds in GET_LOCK()

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1.2
    • Locking
    • None

    Description

      It would be useful if GET_LOCK() supports timeouts with a precision that is lower than 1 second.

      For now, you can pass a FLOAT value as a timeout, but it seems to be rounded:

      MariaDB [(none)]> SELECT GET_LOCK('x', 0.5);
      +--------------------+
      | GET_LOCK('x', 0.5) |
      +--------------------+
      |                  0 |
      +--------------------+
      1 row in set (1.00 sec)

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alexey Botchkov made transition -
            Open In Progress
            663d 21h 53m 1
            Sergei Golubchik made transition -
            In Progress Stalled
            21d 14m 1
            Nirbhay Choubey (Inactive) made transition -
            Stalled In Progress
            3d 1h 57m 1
            Nirbhay Choubey (Inactive) made transition -
            In Progress In Review
            28m 35s 1
            Sergei Golubchik made transition -
            In Review Stalled
            20h 28m 1
            Nirbhay Choubey (Inactive) made transition -
            Stalled Closed
            16h 54m 1

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              f_razzoli Federico Razzoli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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