Changeset: 993e496dbc25 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=993e496dbc25
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: delete_in_vlist
Log Message:

Simplify the signature of the value_list function.


diffs (30 lines):

diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -300,7 +300,7 @@ handle_in_exps(backend *be, sql_exp *ce,
 }
 
 static stmt *
-value_list(backend *be, list *vals, stmt *left, stmt *sel) 
+value_list(backend *be, list *vals, stmt *left) 
 {
        node *n;
        stmt *s;
@@ -309,7 +309,7 @@ value_list(backend *be, list *vals, stmt
        s = stmt_temp(be, exp_subtype(vals->h->data));
        for( n = vals->h; n; n = n->next) {
                sql_exp *e = n->data;
-               stmt *i = exp_bin(be, e, left, NULL, NULL, NULL, NULL, sel);
+               stmt *i = exp_bin(be, e, left, NULL, NULL, NULL, NULL, NULL);
 
                if (!i)
                        return NULL;
@@ -432,7 +432,7 @@ exp_bin(backend *be, sql_exp *e, stmt *l
                } else if (e->r) {              /* parameters */
                        s = stmt_var(be, sa_strdup(sql->sa, e->r), 
e->tpe.type?&e->tpe:NULL, 0, e->flag);
                } else if (e->f) {              /* values */
-                       s = value_list(be, e->f, left, sel);
+                       s = value_list(be, e->f, left);
                } else {                        /* arguments */
                        s = stmt_varnr(be, e->flag, e->tpe.type?&e->tpe:NULL);
                }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to