Bug #84666 Split Item_func_spatial_rel
Submitted: 25 Jan 2017 14:39 Modified: 16 Feb 2017 14:06
Reporter: Norvald Ryeng Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: GIS Severity:S3 (Non-critical)
Version:8.0.0 OS:Any
Assigned to: CPU Architecture:Any

[25 Jan 2017 14:39] Norvald Ryeng
Description:
Item_func_spatial_rel implements multiple functions:

ST_CONTAINS
ST_WITHIN
ST_EQUALS
ST_DISJOINT
ST_INTERSECTS
ST_TOUCHES
ST_CROSSES
ST_OVERLAPS

This gives very little benefit, makes the code messy, and complicates implementation of geographical variants of these functions.

How to repeat:
N/A

Suggested fix:
Split Item_func_spatial_rel into one class per function.
[16 Feb 2017 14:06] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.