Bug #83800 Declare in_vector::result_type() as const
Submitted: 14 Nov 2016 7:06 Modified: 14 Nov 2016 14:27
Reporter: Marko Mäkelä Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[14 Nov 2016 7:06] Marko Mäkelä
All implementations of the pure virtual member function in_vector::result_type() are simply returning a constant, without modifying anything. Therefore, the member function should be declared as const.

How to repeat:
See above.

Suggested fix:
Declare result_type() as const.
In the derived classes and overridden member functions, add the C++11 attributes final and override.
[14 Nov 2016 14:27] Paul DuBois
Posted by developer:
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.