1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-7528 GIS: Functions return NULL instead of specified -1 for NULL arguments.

The behaviour required by the standard seems too weird to expect.
This commit is contained in:
Alexey Botchkov
2015-06-23 11:57:05 +05:00
parent 3e4126e9d6
commit d3b7eb7b99
3 changed files with 40 additions and 15 deletions

View File

@ -1511,3 +1511,10 @@ select ST_Relate(ST_PointFromText('POINT(0 0)'),ST_PointFromText('POINT(0 0)'),'
select ST_Relate(ST_PointFromText('POINT(0 0)'),ST_PointFromText('POINT(1 1)'),'FF*FF****') as disjoint;
select ST_Relate(ST_PointFromText('POINT(0 0)'),ST_PointFromText('POINT(0 0)'),'FF*FF****') as disjoint;
--echo #
--echo # MDEV-7528 GIS: Functions return NULL instead of specified -1 for NULL arguments.
--echo #
select ST_IsRing(NULL);