Bug #86066 Remove pointer arithmetic macros
Submitted: 25 Apr 2017 8:40 Modified: 25 Apr 2017 14:54
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

[25 Apr 2017 8:40] Steinar Gunderson
Description:
The macros ADD_TO_PTR and PTR_BYTE_DIFF invite to type-unsafe pointer handling, and in general are not really needed (most of the time, they just use uchar* anyway). We should just remove them.

How to repeat:
N/A

Suggested fix:
N/A
[25 Apr 2017 14:54] Paul DuBois
Posted by developer:
 
Fixed in 8.0.2.

Code cleanup. No changelog entry needed.