Bug #96926 remove the c macro MY_TEST
Submitted: 18 Sep 2019 11:49 Modified: 25 Sep 2019 2:14
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.19 OS:Any
Assigned to: CPU Architecture:Any

[18 Sep 2019 11:49] Tor Didriksen
Description:
The standard C/C++ type 'bool' replaced 'my_bool' (which was a char) some time ago.
While we were using my_bool, we needed MY_TEST, to map zero/non-zero values to safe 0/1 values.
This macro is no longer needed, so remove it.

How to repeat:
Read the code.

Suggested fix:
Remove MY_TEST, evaluate as boolean expressions instead.
[25 Sep 2019 2:14] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Code cleanup. No changelog entry required.