Update of /cvsroot/monetdb/sql/src/common
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1066/src/common

Modified Files:
        sql_types.mx 
Log Message:
the optimizer now recognizes range joins and selects


U sql_types.mx
Index: sql_types.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/common/sql_types.mx,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- sql_types.mx        4 Jun 2009 20:27:54 -0000       1.128
+++ sql_types.mx        8 Jun 2009 04:43:10 -0000       1.129
@@ -592,10 +592,6 @@
        (void)s;
        while (n) {
                sql_func *a = n->data;
-               sql_arg *arg = NULL;
-
-               if (a->ops->h)
-                       arg = a->ops->h->data;
 
                if (strcmp(a->base.name, sqlaname) == 0) {
                        int scale = 0;
@@ -616,14 +612,10 @@
 
                if (s->funcs.set) for (n=s->funcs.set->h; n; n = n->next) {
                        sql_func *a = n->data;
-                       sql_arg *arg = NULL;
 
                        if ((a->is_func && !a->res.type) || !a->aggr)
                                continue;
 
-                       if (a->ops->h)
-                               arg = a->ops->h->data;
-
                        if (strcmp(a->base.name, sqlaname) == 0) {
                                int scale = 0;
                                int digits = 0;


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to