Bug #83097 Split my_global.h
Submitted: 22 Sep 2016 13:28 Modified: 19 Oct 2016 14:18
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[22 Sep 2016 13:28] Steinar Gunderson
Description:
my_global.h is a hodgepodge of various system includes, #defines, and #includes of other header files. As a central choke point, any edit to it will necessarily invoke recompiling of more than half of MySQL. A lot of work has been done on it, but now is the time for it to go away entirely.

How to repeat:
N/A

Suggested fix:
1. Split my_global.h into various smaller, logical pieces. Make my_global.h contain nothing but #includes of these.
2. Move the #includes from my_global.h into the relevant files, one by one.
3. Remove the file entirely.
[19 Oct 2016 14:18] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.