Changeset: 8e38d1d742f6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8e38d1d742f6
Modified Files:
        geom/BugTracker/Tests/copy_into_mbr.3492.sql
Branch: geo
Log Message:

updated copy_into_mbr.3492 test. It is strange that inserting NULLs
to geometry and mbr succeeds when at the beginning but failes
when at the end.


diffs (14 lines):

diff --git a/geom/BugTracker/Tests/copy_into_mbr.3492.sql 
b/geom/BugTracker/Tests/copy_into_mbr.3492.sql
--- a/geom/BugTracker/Tests/copy_into_mbr.3492.sql
+++ b/geom/BugTracker/Tests/copy_into_mbr.3492.sql
@@ -1,7 +1,8 @@
 CREATE TABLE geom (id INTEGER, g GEOMETRY, b MBR);
+INSERT INTO geom values (5, NULL, NULL);
 INSERT INTO geom values (1, 'POLYGON((1 2, 3 2, 3 4, 1 4, 1 2))', NULL);
-INSERT INTO geom values (2, 'POLYGON((1 2, 3 2, 3 4, 1 4, 1 2))', 'BOX(1 2,3 
4)');
-INSERT INTO geom values (3, 'POLYGON((1 2, 3 2, 3 4, 1 4, 1 2))', 'BOX (1 2,3 
4)');
+INSERT INTO geom values (2, 'POLYGON((1 2, 3 2, 3 4, 1 4, 1 2))', 'MBR(1 2,3 
4)');
+INSERT INTO geom values (3, 'POLYGON((1 2, 3 2, 3 4, 1 4, 1 2))', 'MBR (1 2,3 
4)');
 INSERT INTO geom values (4, NULL, NULL);
 SELECT * FROM geom ORDER BY id;
 UPDATE geom SET b = MBR(g);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to