Changeset: 2ee642457e66 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2ee642457e66
Modified Files:
gdk/gdk_batop.mx
Branch: Jul2012
Log Message:
fix crash in BATconst
diffs (15 lines):
diff --git a/gdk/gdk_batop.mx b/gdk/gdk_batop.mx
--- a/gdk/gdk_batop.mx
+++ b/gdk/gdk_batop.mx
@@ -2763,8 +2763,10 @@ BATconst(BAT *b, int tailtype, const voi
bn = VIEWcreate(b, bt);
BBPunfix(bt->batCacheid);
}
- if (b != o)
+ if (b != o) {
BBPunfix(b->batCacheid);
+ b = o;
+ }
}
} else {
if (tailtype == TYPE_bat) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list