Bug #75800 Move current_thd out of mysqld.h
Submitted: 5 Feb 2015 15:50 Modified: 12 Feb 2015 13:27
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[5 Feb 2015 15:50] Tor Didriksen
Description:
Several files do #include mysqld.h
in order to get current_thd
This increases coupling between otherwise independent components.

How to repeat:
Read the code.

Suggested fix:
Move current_thd to a separate file.
[12 Feb 2015 13:27] Paul DuBois
Fixed in 5.8.0. Code cleanup. No changelog entry needed.