Bug #84535 Simplify float/double sort key generation
Submitted: 17 Jan 2017 13:43 Modified: 20 Jan 2017 2:57
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[17 Jan 2017 13:43] Steinar Gunderson
Description:
The current float/double sort key generation is unneccessarily complicated, and poorly documented. It can be made simpler (and faster) by noticing that positive floats already sort correctly as ints, and doing some minor tweaks for negative numbers.

How to repeat:
N/A

Suggested fix:
N/A
[20 Jan 2017 2:57] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.