Update of /cvsroot/monetdb/sql/src/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9668/src/include
Modified Files:
sql_relation.h
Log Message:
handle range joins efficiently in the algebra version
U sql_relation.h
Index: sql_relation.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/include/sql_relation.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- sql_relation.h 1 Apr 2008 17:04:55 -0000 1.21
+++ sql_relation.h 9 Apr 2008 09:56:22 -0000 1.22
@@ -47,7 +47,7 @@
void *r;
void *f; /* func's and aggr's and column type */
/* e_cmp may have have 2 arguments */
- int flag; /* DISTINCT, NO_NIL, ASCENDING */
+ int flag; /* DISTINCT, NO_NIL, ASCENDING, cmp types */
char card; /* card
(0 truth value!)
(1 atoms)
@@ -61,6 +61,7 @@
#define NO_NIL 2
/* ASCENDING > 8 else we have problems with cmp types */
#define ASCENDING 16
+#define ANTISEL 32
#define MAXOPS 16
@@ -109,6 +110,11 @@
#define set_direction(e, dir) \
e->flag |= (dir?ASCENDING:0)
+#define is_anti(e) \
+ ((e->flag&ANTISEL))
+#define set_anti(e) \
+ e->flag |= ANTISEL
+
/* used for expressions and relations */
#define is_distinct(e) \
((e->flag&DISTINCT))
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins