Changeset: 6b6da0ea8903 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6b6da0ea8903
Modified Files:
        sql/backends/monet5/dict.c
Branch: Jan2022
Log Message:

Throw GDK error to help debugging


diffs (12 lines):

diff --git a/sql/backends/monet5/dict.c b/sql/backends/monet5/dict.c
--- a/sql/backends/monet5/dict.c
+++ b/sql/backends/monet5/dict.c
@@ -395,7 +395,7 @@ DICTdecompress(Client cntxt, MalBlkPtr m
        bat_destroy(o);
        bat_destroy(u);
        if (!b)
-               throw(SQL, "dict.decompress", SQLSTATE(HY013) "unknown offset 
type");
+               throw(SQL, "dict.decompress", GDK_EXCEPTION);
        BBPkeepref(*r = b->batCacheid);
        return MAL_SUCCEED;
 }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to