Update of /cvsroot/monetdb/sql/src/server
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16925/src/server
Modified Files:
sql_psm.mx
Log Message:
propagated changes of Saturday Jan 30 2010 - Sunday Jan 31 2010
from the Feb2010 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/01/30 - nielsnes: src/server/sql_psm.mx,1.73.2.1
the select statements didn't get pushed through the diffs and unions anymore.
Reason we added lots of 'st_alias'es around statements during the development
of the relational version. These st_aliases are now handled correctly fixing
the push down.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql_psm.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_psm.mx,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- sql_psm.mx 10 Jan 2010 15:33:35 -0000 1.73
+++ sql_psm.mx 31 Jan 2010 12:45:05 -0000 1.74
@@ -152,7 +152,6 @@
dlist *qname = n->next->data.lval;
char *name = qname_table(qname);
char *sname = qname_schema(qname);
- //stmt *ret, *r;
sql_subtype ctype = *sql_bind_localtype("bat");
if (sname) /* not allowed here */
@@ -169,12 +168,7 @@
return NULL;
ctype.comp_type =
(sql_table*)((atom*)((sql_exp*)rel->exps->t->data)->l)->data.val.pval;
-//find_basetable(ret);
-
- //r = stmt_var(_strdup(name), &ctype, 1, sql->frame );
- //rel = rel_basetable(ctype.comp_type, name);
stack_push_rel_var(sql, name, rel_dup(rel), &ctype);
- //stmt_destroy(ret);
return rel_bin(sql, rel);
}
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins