Bug #87994 Reduce weight of sql_class.h
Submitted: 5 Oct 2017 14:15 Modified: 11 Dec 2017 16:09
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[5 Oct 2017 14:15] Steinar Gunderson
Description:
sql_class.h contains the THD, and thus is included from almost everything. It is also very slow to compile. We should make it faster by splitting out code and forward-declaring more types.

Ideally, the THD should simply contain fewer variables instead of being used as a grab-bag for everything, but this bug is not going to deal with that.

How to repeat:
N/A

Suggested fix:
N/A
[11 Dec 2017 13:06] Steinar Gunderson
Posted by developer:
 
We've done all the work we plan to do here at this stage. CLosing.

Docs team: As far as I know, no documentation needed for this change.
[11 Dec 2017 16:09] Paul DuBois
Posted by developer:
 
Fixed in 8.0.4, 9.0.0.

Code cleanup. No changelog entry needed.