Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
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
- is part of
-
MDEV-6530 Examine and apply Power8 patches suggested by Stewart Smith
-
- Closed
-
- links to
Fixed by Monty in 10.0.13:
revno: 4309
revision-id: monty@mariadb.org-20140730185826-ixp284l6b2aoha2t
parent: jplindst@mariadb.org-20140727054737-ieoohthuxc601q1a
committer: Michael Widenius <monty@mariadb.org>
branch nick: maria-10.0
timestamp: Wed 2014-07-30 21:58:26 +0300
message:
Fixed wrong usage of global_query_id. (It's not protected by LOCK_thread_count)