Changeset: c48a334f42d1 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c48a334f42d1
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: nested
Log Message:

make sure we handle all expression types in tvtree


diffs (14 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
@@ -903,7 +903,9 @@ value_tvtree(backend *be, sql_exp *vals_
                list *vals = exp_get_values(vals_exp);
                if (list_length(vals) == 1) {
                        sql_exp *v = vals->h->data;
-                       return stmt_atom(be, v->l);
+                       if (v->type == e_atom && v->l)
+                               return stmt_atom(be, v->l);
+                       return exp_bin(be, v, left, NULL, NULL, NULL, NULL, 
sel, 0, 0, 0);
                }
        }
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to