Bug #79339 get rid of THD::no_errors
Submitted: 19 Nov 2015 13:46 Modified: 17 Dec 2015 13:56
Reporter: Tor Didriksen 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

[19 Nov 2015 13:46] Tor Didriksen
Description:
THD has a bool member called no_errors.
It is used only by the range optimizer, to ignore certain
conversion errors during optimization.

The value is checked in various val_xxx functions
and warnings are suppressed.

A better solution is to use an Internal_error_handler in the range optimizer.

How to repeat:
Read the code.

Suggested fix:
See description.
[17 Dec 2015 13:56] Paul DuBois
Fixed in 5.8.0.

Code cleanup. No changelog entry needed.
[18 Jun 2016 21:34] Omer Barnir
Posted by developer:
 
Reported version value updated to reflect release name change from 5.8 to 8.0