Changeset: 5b634b814990 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5b634b814990
Modified Files:
        monetdb5/modules/mal/xid.c
Branch: xid
Log Message:

Handle garbage collection in the main routine.


diffs (19 lines):

diff --git a/monetdb5/modules/mal/xid.c b/monetdb5/modules/mal/xid.c
--- a/monetdb5/modules/mal/xid.c
+++ b/monetdb5/modules/mal/xid.c
@@ -227,14 +227,9 @@ XIDcompressCol( Client cntxt, InstrPtr p
 
                clk = GDKusec();
                msg = XIDencode(&i,col,p,q);
-               if (msg != MAL_SUCCEED) {
-                       BBPreleaseref(b->batCacheid);
-                       BBPreleaseref(bn->batCacheid);
+               if (msg != MAL_SUCCEED) 
                        return msg;
-               }
                if (i+1 > XID_VAL_MAX) {
-                       BBPreleaseref(b->batCacheid);
-                       BBPreleaseref(bn->batCacheid);
                        throw(MAL, "xid.compress", "value too large");
                }
                col[0].value = (xid)(i+1); /* keep compression size */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to