Changeset: 919dfd4cdc71 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=919dfd4cdc71
Modified Files:
        sql/backends/monet5/datacell/basket.mx
Branch: default
Log Message:

Update the reference count
before returning them to the interpreter.


diffs (11 lines):

diff --git a/sql/backends/monet5/datacell/basket.mx 
b/sql/backends/monet5/datacell/basket.mx
--- a/sql/backends/monet5/datacell/basket.mx
+++ b/sql/backends/monet5/datacell/basket.mx
@@ -361,6 +361,7 @@
                ret= (int*) getArgReference(stk,pci,i);
                b = baskets[bskt].primary[i];
                *ret = b->batCacheid;
+               BBPkeepref(*ret);
                if (  b->htype == TYPE_oid) {
                        baskets[bskt].primary[i] = BATnew(TYPE_void, b->ttype, 
0);
                        BATseqbase(baskets[bskt].primary[i], 0);
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to