Changeset: 25fea784fe12 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/25fea784fe12
Modified Files:
gdk/gdk_bat.c
Branch: Jul2021
Log Message:
We can have a view on a persistent bat.
diffs (12 lines):
diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -795,7 +795,7 @@ COLcopy(BAT *b, int tt, bool writable, r
/* first try case (1); create a view, possibly with different
* atom-types */
if (!writable &&
- role == b->batRole &&
+ role == TRANSIENT &&
b->batRestricted == BAT_READ &&
ATOMstorage(b->ttype) != TYPE_msk && /* no view on TYPE_msk */
(!VIEWtparent(b) ||
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list