Changeset: 6b8aa0919ba5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6b8aa0919ba5
Modified Files:
        monetdb5/modules/kernel/microbenchmark.c
Branch: Jul2017
Log Message:

Fix error messages.


diffs (29 lines):

diff --git a/monetdb5/modules/kernel/microbenchmark.c 
b/monetdb5/modules/kernel/microbenchmark.c
--- a/monetdb5/modules/kernel/microbenchmark.c
+++ b/monetdb5/modules/kernel/microbenchmark.c
@@ -353,7 +353,7 @@ MBMnormal(bat *ret, oid *base, lng *size
        BATnormal(&bn, base, size, domain, stddev, mean);
        if( bn ){
                BBPkeepref(*ret= bn->batCacheid);
-       } else throw(MAL, "microbenchmark.uniform", OPERATION_FAILED);
+       } else throw(MAL, "microbenchmark.normal", OPERATION_FAILED);
        return MAL_SUCCEED;
 }
 
@@ -365,7 +365,7 @@ MBMmix(bat *bn, bat *batid)
        BAT *b;
 
        if ((b = BATdescriptor(*batid)) == NULL)
-                throw(MAL, "microbenchmark.mix", RUNTIME_OBJECT_MISSING);
+               throw(MAL, "microbenchmark.mix", RUNTIME_OBJECT_MISSING);
 
        n = BATcount(b);
        /* mix BUNs randomly */
@@ -391,6 +391,6 @@ MBMskewed(bat *ret, oid *base, lng *size
        BATskewed(&bn, base, size, domain, skew);
        if( bn ){
                BBPkeepref(*ret= bn->batCacheid);
-       } else throw(MAL, "microbenchmark,uniform", OPERATION_FAILED);
+       } else throw(MAL, "microbenchmark.skewed", OPERATION_FAILED);
        return MAL_SUCCEED;
 }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to