Changeset: f5c1caf71d65 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f5c1caf71d65
Modified Files:
        MonetDB/src/gdk/gdk_bbp.mx
Branch: Jun2010
Log Message:

Fix for bug 2658.
When a logical view is destroyed, it should also lower its parent's share count.


diffs (12 lines):

diff -r af4ef43d21e4 -r f5c1caf71d65 MonetDB/src/gdk/gdk_bbp.mx
--- a/MonetDB/src/gdk/gdk_bbp.mx        Thu Aug 19 10:27:23 2010 +0200
+++ b/MonetDB/src/gdk/gdk_bbp.mx        Thu Aug 19 14:30:36 2010 +0200
@@ -2136,7 +2136,7 @@
 BBPdestroy(BAT *b)
 {
        int clear = 1;
-       bat hp = VIEWhparent(b), tp = VIEWtparent(b);
+       bat hp = b->H->heap.parentid, tp = b->T->heap.parentid;
        bat vhp = VIEWvhparent(b), vtp = VIEWvtparent(b);
 
        if (isVIEW(b)) {        /* a physical view */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to