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

MySQL Bug#72544 - Incorrect locking for global_query_id

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 10.0.13
    • Component/s: None
    • Labels:
      None

      Description

      global_query_id is atomic variable. Though it is protected by mutex in sp_head.cc:

      mysql_mutex_lock(&LOCK_thread_count);
      q= global_query_id;
      mysql_mutex_unlock(&LOCK_thread_count);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              monty Michael Widenius
              Reporter:
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: