Bug #90466 Make TABLE_SHARE::version private
Submitted: 17 Apr 2018 7:48 Modified: 18 Apr 2018 14:53
Reporter: Knut Anders Hatlen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: DDL Severity:S3 (Non-critical)
Version:8.0.12 OS:Any
Assigned to: CPU Architecture:Any

[17 Apr 2018 7:48] Knut Anders Hatlen
Description:
TABLE_SHARE::version is a public member. There are strict rules for when this member can be modified (all table cache instances and the table definition cache must be locked), so it would be good to hide this member behind accessor functions that ensure that the rules are obeyed.

How to repeat:
N/A
[18 Apr 2018 14:53] Paul DuBois
Posted by developer:
 
Fixed in 8.0.13.

Code cleanup. No changelog entry needed.