Bug #83883 Split Item_func_distance
Submitted: 18 Nov 2016 11:59 Modified: 29 Nov 2016 13:54
Reporter: Norvald Ryeng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: GIS Severity:S4 (Feature request)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[18 Nov 2016 11:59] Norvald Ryeng
Description:
Item_func_distance implements two functions: ST_DISTANCE and ST_DISTANCE_SPHERE. This gives very little benefit, makes the code messy, and complicates implementation of geographical ST_DISTANCE.

How to repeat:
N/A

Suggested fix:
Split ST_DISTANCE_SPHERE into a separate Item_func_distance_sphere class.
[29 Nov 2016 13:54] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.