mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-8675 Different results of GIS functions on NULL vs NOT NULL columns
This commit is contained in:
@@ -1518,3 +1518,10 @@ select ST_Relate(ST_PointFromText('POINT(0 0)'),ST_PointFromText('POINT(0 0)'),'
|
||||
|
||||
select ST_IsRing(NULL);
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-8675 Different results of GIS functions on NULL vs NOT NULL columns
|
||||
--echo #
|
||||
CREATE TABLE t1 (g1 GEOMETRY NOT NULL,g2 GEOMETRY NULL);
|
||||
CREATE TABLE t2 AS SELECT WITHIN(g1,g1) as w1,WITHIN(g2,g2) AS w2 FROM t1;
|
||||
SHOW CREATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
|
||||
Reference in New Issue
Block a user