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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.