Bug #86055 Remove my_test macro
Submitted: 24 Apr 2017 13:57 Modified: 27 Apr 2017 15:51
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.2 OS:Any
Assigned to: CPU Architecture:Any

[24 Apr 2017 13:57] Steinar Gunderson
Description:
Now that we've replaced my_bool with bool, most uses of MY_TEST are superfluous. It is meant as a int-to-bool macro, but occasionally seems to be used as bool-to-int, pointer-to-bool, and sometimes even bool-to-bool. Let's just get rid of it altogether and replace it with more normal constructions.

How to repeat:
N/A

Suggested fix:
N/A
[27 Apr 2017 15:51] Paul DuBois
Posted by developer:
 
Fixed in 8.0.2.

Code cleanup. No changelog entry needed.