Changeset: 86a34c6a2e80 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/86a34c6a2e80
Modified Files:
        monetdb5/modules/kernel/algebra.c
Branch: Aug2024
Log Message:

Not all errors are malloc errors.


diffs (12 lines):

diff --git a/monetdb5/modules/kernel/algebra.c 
b/monetdb5/modules/kernel/algebra.c
--- a/monetdb5/modules/kernel/algebra.c
+++ b/monetdb5/modules/kernel/algebra.c
@@ -1003,7 +1003,7 @@ ALGfirstn(Client cntxt, MalBlkPtr mb, Ma
        BBPreclaim(s);
        BBPreclaim(g);
        if (rc != GDK_SUCCEED)
-               throw(MAL, "algebra.firstn", SQLSTATE(HY013) MAL_MALLOC_FAIL);
+               throw(MAL, "algebra.firstn", GDK_EXCEPTION);
        *ret1 = bn->batCacheid;
        BBPkeepref(bn);
        if (ret2) {
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to