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.

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

Page generated in 0.051 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.