Global refresh_version not protected against races
Bug #751191 reported by
Olaf van der Spek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
In Progress
|
Low
|
Stewart Smith |
Bug Description
Global var (g_)refresh_version is not protected against any races.
Related branches
lp:~stewart/drizzle/bug751191
On hold
for merging
into
lp:~drizzle-trunk/drizzle/development
- Drizzle Merge Team: Pending requested
-
Diff: 103 lines (+13/-5)5 files modifieddrizzled/main.cc (+6/-0)
drizzled/open_tables_state.h (+2/-1)
drizzled/session.cc (+2/-1)
drizzled/sql_base.cc (+2/-2)
plugin/signal_handler/signal_handler.cc (+1/-1)
Changed in drizzle: | |
status: | In Progress → Fix Committed |
Changed in drizzle: | |
status: | Fix Committed → In Progress |
To post a comment you must log in.
I think this ends up being mostly all protected by a mutex.. but converting to atomic variable to avoid having to do some horrible audit of scary code paths