[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    MonetDB: default - Fix test of how views are recognized.
From:       Sjoerd_Mullender <commits+sjoerd=acm.org () monetdb ! org>
Date:       2021-03-31 10:08:57
Message-ID: hg.30308215afc7.1617185337.-4504975832822101687 () monetdb-vm0 ! spin-off ! cwi ! nl
[Download RAW message or body]

Changeset: 30308215afc7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/30308215afc7
Modified Files:
	gdk/gdk_private.h
Branch: default
Log Message:

Fix test of how views are recognized.


diffs (21 lines):

diff --git a/gdk/gdk_private.h b/gdk/gdk_private.h
--- a/gdk/gdk_private.h
+++ b/gdk/gdk_private.h
@@ -327,7 +327,7 @@ ilog2(BUN x)
 	BATcount(b),							\
 	b->hseqbase,							\
 	ATOMname(b->ttype),						\
-	!b->batTransient ? "P" : b->theap->parentid ? "V" : b->tvheap && \
b->tvheap->parentid != b->batCacheid ? "v" : "T", \ +	!b->batTransient ? "P" : \
b->theap->parentid != b->batCacheid ? "V" : b->tvheap && b->tvheap->parentid != \
b->batCacheid ? "v" : "T", \  BATtdense(b) ? "D" : b->ttype == TYPE_void && b->tvheap \
? "X" : ATOMstorage(b->ttype) == TYPE_str && GDK_ELIMDOUBLES(b->tvheap) ? "E" : "", \ \
b->tsorted ? "S" : b->tnosorted ? "!s" : "",			\  b->trevsorted ? "R" : \
b->tnorevsorted ? "!r" : "",		\ @@ -347,7 +347,7 @@ ilog2(BUN x)
 	b ? "[" : "",							\
 	b ? ATOMname(b->ttype) : "",					\
 	b ? "]" : "",							\
-	b ? !b->batTransient ? "P" : b->theap && b->theap->parentid ? "V" : b->tvheap && \
b->tvheap->parentid != b->batCacheid ? "v" : "T" : "",	\ +	b ? !b->batTransient ? "P" \
: b->theap && b->theap->parentid != b->batCacheid ? "V" : b->tvheap && \
b->tvheap->parentid != b->batCacheid ? "v" : "T" : "",	\  b ? BATtdense(b) ? "D" : \
b->ttype == TYPE_void && b->tvheap ? "X" : ATOMstorage(b->ttype) == TYPE_str && \
GDK_ELIMDOUBLES(b->tvheap) ? "E" : "" : "", \  b ? b->tsorted ? "S" : b->tnosorted ? \
"!s" : "" : "",		\  b ? b->trevsorted ? "R" : b->tnorevsorted ? "!r" : "" : "",	\
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic