Changeset: 8787d76eafa5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8787d76eafa5
Modified Files:
        gdk/gdk_cand.c
Branch: unlock
Log Message:

Don't copy too much.


diffs (12 lines):

diff --git a/gdk/gdk_cand.c b/gdk/gdk_cand.c
--- a/gdk/gdk_cand.c
+++ b/gdk/gdk_cand.c
@@ -1299,7 +1299,7 @@ BATnegcands(BAT *dense_cands, BAT *odels
                        r[x - lo] = x + odels->tseqbase;
        } else {
                oid *r = (oid*)(dels->base + sizeof(ccand_t));
-               memcpy(r, Tloc(odels, lo), dels->free);
+               memcpy(r, Tloc(odels, lo), sizeof(oid) * (hi - lo));
        }
        dense_cands->batDirtydesc = true;
        dense_cands->tvheap = dels;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to