Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14995

Modified Files:
      Tag: GDK-2
        gdk.mx 
Log Message:
New macro to check whether a BAT is the result of VIEWcombine.


Index: gdk.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk.mx,v
retrieving revision 1.237.2.10
retrieving revision 1.237.2.11
diff -u -d -r1.237.2.10 -r1.237.2.11
--- gdk.mx      15 Aug 2007 09:37:17 -0000      1.237.2.10
+++ gdk.mx      15 Aug 2007 13:20:24 -0000      1.237.2.11
@@ -2798,6 +2798,7 @@
  * always refer to the same parent column (i.e. no correction needed)
  */
 #define isVIEW(x) (!(x)->P->lview && ((x)->H->parentid || (x)->T->parentid))
+#define isVIEWCOMBINE(x) ((x)->H == (x)->T)
 #define VIEWhparent(x) 
((x)->P->lview?0:((x)->batCacheid>0?(x)->H->parentid:-(x)->H->parentid))
 #define VIEWtparent(x) 
((x)->P->lview?0:((x)->batCacheid>0?(x)->T->parentid:-(x)->T->parentid))
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to