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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.064 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.