Bug #33024 DDL Blocker uses exposed variables
Submitted: 5 Dec 2007 21:35 Modified: 26 Feb 2008 1:41
Reporter: Chuck Bell Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Backup Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Chuck Bell CPU Architecture:Any

[5 Dec 2007 21:35] Chuck Bell
Description:
The DDL blocker needs to be refactored. It currently uses a boolean and a counter inside the critical sections but these variables are exposed (not encapsulated) so it means the variables are unsafe.

How to repeat:
N/A Design deficiency

Suggested fix:
Encapsulate the DDL blocker as a class. Refactor code for safe execution.
[11 Dec 2007 1:11] Chuck Bell
Initial patch created. See http://lists.mysql.com/commits/39686.
[12 Dec 2007 20:17] Chuck Bell
Patch ready for review. See http://lists.mysql.com/commits/39816.
[13 Dec 2007 16:35] Rafal Somla
Good to push.
[25 Feb 2008 20:19] Bugs System
Pushed into 6.0.5-alpha
[26 Feb 2008 1:41] Paul DuBois
No user-visible effects. No changelog entry needed.