Changeset: dc5fe3fbd00b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dc5fe3fbd00b
Modified Files:
        gdk/gdk_align.c
Branch: Jul2015
Log Message:

Complete changeset 93ef82367cca: transfer heap to view.


diffs (18 lines):

diff --git a/gdk/gdk_align.c b/gdk/gdk_align.c
--- a/gdk/gdk_align.c
+++ b/gdk/gdk_align.c
@@ -700,6 +700,14 @@ VIEWreset(BAT *b)
                n->batSharecnt = 0;
                n->batCopiedtodisk = 0;
                n->batDirty = 1;
+               if (v->H->heap.parentid == n->batCacheid) {
+                       assert(hp == 0);
+                       v->H->heap.parentid = 0;
+               }
+               if (v->T->heap.parentid == -n->batCacheid) {
+                       assert(tp == 0);
+                       v->T->heap.parentid = 0;
+               }
 
                /* reset BOUND2KEY */
                n->hkey = BAThkey(v);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to