Bug #85102 Fix misuses of my_bool
Submitted: 21 Feb 2017 13:12 Modified: 22 Feb 2017 13:48
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[21 Feb 2017 13:12] Steinar Gunderson
Description:
We have a variety of misuses of my_bool, in particular cases where it's not actually used to hold a boolean, but something else (like e.g. TRUE/FALSE/UNKNOWN, or a value from 0 to 5).

In addition, we have a number of places that assume my_bool _is_ char, through implicit pointer casting. These should also be fixed.

How to repeat:
N/A

Suggested fix:
Varies from case to case.
[22 Feb 2017 13:48] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.