Bug #83570 Do not ignore THD parameter in resolve_type()
Submitted: 27 Oct 2016 10:26 Modified: 1 Nov 2016 15:09
Reporter: Marko Mäkelä Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[27 Oct 2016 10:26] Marko Mäkelä
Description:
The following member functions are invoking current_thd, even though they get it passed as a parameter:

Item_func_get_system_var::resolve_type()
Item_func_internal_update_time::resolve_type()
Item_func_internal_check_time::resolve_type()

How to repeat:
See above (read the code).

Suggested fix:
Remove the occurrences of current_thd and make use of the parameter.
[1 Nov 2016 15:09] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.