Changeset: 801233575446 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=801233575446
Modified Files:
        geom/monetdb5/geom.c
Branch: sfcgal
Log Message:

Give the correct error message


diffs (25 lines):

diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c
--- a/geom/monetdb5/geom.c
+++ b/geom/monetdb5/geom.c
@@ -4849,7 +4849,7 @@ wkbUnionCascade(wkb **outWKB, bat *inBAT
 
        //get the BATs
        if (!(inBAT = BATdescriptor(*inBAT_id))) {
-               throw(MAL, "geom.Collect", "Problem retrieving BATs");
+               throw(MAL, "geom.Union", "Problem retrieving BATs");
        }
 
     /*TODO: We need a better way to handle the cases where the BAT was 
created, but it has zero elements*/
@@ -4864,10 +4864,10 @@ wkbUnionCascade(wkb **outWKB, bat *inBAT
        //iterator over the BATs
        inBAT_iter = bat_iterator(inBAT);
 
-    /*Collect all geoms*/
+    /*Union all geoms*/
     if ( (geoms = (wkb**) GDKmalloc(sizeof(wkb*)*BATcount(inBAT))) == NULL) {
         BBPunfix(inBAT->batCacheid);
-               throw(MAL, "geom.Collect", "GDKmalloc failed");
+               throw(MAL, "geom.Union", "GDKmalloc failed");
     }
 
        for (j = 0, i = BUNfirst(inBAT); i < BATcount(inBAT); i++, j++) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to