Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 5.5.33
-
Fix Version/s: 5.5.34
-
Component/s: None
-
Labels:None
Description
static void emb_free_embedded_thd(MYSQL *mysql)
{ THD *thd= (THD*)mysql->thd; thd->clear_data_list(); thread_count--; thd->store_globals(); thd->unlink(); delete thd; my_pthread_setspecific_ptr(THR_THD, 0); mysql->thd=0; }thread_count is global but it is modified without protection. In a multi-core env this will lead to lost updates or at least, race conditions.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
As I understand that was closed as a part of this one:
https://mariadb.atlassian.net/browse/MDEV-5131