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

GET_LOCK: Fractional part of timeout is ignored

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1.21
    • Fix Version/s: 10.1.22
    • Component/s: Locking
    • Labels:
      None

      Description

      Connection 1:

      MariaDB [test]> select get_lock('x', 1);
      +------------------+
      | get_lock('x', 1) |
      +------------------+
      |                1 |
      +------------------+
      1 row in set (0.00 sec)
      

      Connection 2:

      MariaDB [test]> select get_lock('x', 1.9);
      +--------------------+
      | get_lock('x', 1.9) |
      +--------------------+
      |                  0 |
      +--------------------+
      1 row in set (1.00 sec)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey (Inactive)
                Reporter:
                nirbhay_c Nirbhay Choubey (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: