Bug #84144 Make get_sys_var_safe() a function
Submitted: 9 Dec 2016 9:56 Modified: 12 Dec 2016 13:54
Reporter: Norvald Ryeng 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

[9 Dec 2016 9:56] Norvald Ryeng
Description:
In sql/item_func.cc, get_sys_var_safe is defined as a macro as a poor man's templated function. Now that we use C++, make it a function template instead.

This is pure refactoring.

How to repeat:
N/A

Suggested fix:
Make get_sys_var_safe a member function template in Item_func_get_system_var.
[12 Dec 2016 13:54] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.