]> granicus.if.org Git - postgis/commitdiff
Change "Mixed Geometry Types" message into a warning rather than an error in the...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Fri, 16 Oct 2009 16:23:50 +0000 (16:23 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Fri, 16 Oct 2009 16:23:50 +0000 (16:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4658 b70326c6-7e19-0410-871a-916f4a2858ee

utils/test_joinestimation.pl

index e873a1827c6e700a626c919d5867c3330b991916..88c0e7cbede556bdb67b88ae7d2979deda6421a9 100755 (executable)
@@ -221,8 +221,7 @@ sub get_geometry_type
                exit(1);
        }
        if ( $res->ntuples() > 1 ) {
-               print STDERR "Mixed geometry types in \"$SCHEMA1\".\"$TABLE1\".\"$COLUMN1\"\n";
-               exit(1);
+               print STDERR "WARNING: Mixed geometry types in \"$SCHEMA1\".\"$TABLE1\".\"$COLUMN1\"\n";
        }
        return $res->getvalue(0, 0);
 }