Bug #84514 Refactor accumulated Item properties into a bitset
Submitted: 16 Jan 2017 11:03 Modified: 31 May 2017 21:52
Reporter: Roy Lyseng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[16 Jan 2017 11:03] Roy Lyseng
Description:
There are a few properties of class Item that are accumulated from the leaf nodes of an Item tree up to the root node. These are the subquery and stored_program indicators and the sum-function indicators.
This refactoring collects these properties in a bitset which is acumulated in a single operation.
The main benefits of this refactoring is to provide
- uniform handling of all accumulated Item properties.
- Easy addition of new accumulated properties.
- More efficient processing, since all properties are accumulated in one operation.

How to repeat:
N/A

Suggested fix:
Do the suggested refactoring.
[17 Mar 2017 15:25] Paul DuBois
Posted by developer:
 
Fixed in 8.0.2.

Code cleanup. No changelog entry needed.