Changeset: 27716f71ad28 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/27716f71ad28
Modified Files:
sql/rel.txt
sql/server/rel_exp.c
Branch: resource_management
Log Message:
on exp_copy e_func also propagate the flag
diffs (23 lines):
diff --git a/sql/rel.txt b/sql/rel.txt
--- a/sql/rel.txt
+++ b/sql/rel.txt
@@ -161,6 +161,8 @@ e_aggr
-> f func / aggr
for aggr
-> flag DISTINCT and NO_NIL could be set
+for func
+ -> flag could be the quantifiers (ALL/ANY)
for window functions
-> r contains a list with two values: the first is a list with the
partition by expressions, and the second a list with order by expressions
for aggregate functions
diff --git a/sql/server/rel_exp.c b/sql/server/rel_exp.c
--- a/sql/server/rel_exp.c
+++ b/sql/server/rel_exp.c
@@ -3220,6 +3220,7 @@ exp_copy(mvc *sql, sql_exp * e)
else
ne->r = list_append(sa_list(sql->sa),
exps_copy(sql, er->h->data));
}
+ ne->flag = e->flag;
break;
}
case e_atom:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]