Changeset: 28744b9863d5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=28744b9863d5
Modified Files:
        sql/server/rel_optimizer.c
Branch: Feb2013
Log Message:

partial fix for bug 3388, ie fixed the sql language part of the bug.
Todo handle sum with null's in case of mitosis/mergetable properly.


diffs (17 lines):

diff --git a/sql/server/rel_optimizer.c b/sql/server/rel_optimizer.c
--- a/sql/server/rel_optimizer.c
+++ b/sql/server/rel_optimizer.c
@@ -4153,9 +4153,12 @@ rel_push_project_up(int *changes, mvc *s
                                list_append(pexps, e);
                                break;
                        case e_func: 
+                               list_append(pexps, e);
+                               list_split_aggr_and_project(sql, aexps, e->l);
+                               break;
                        case e_convert: 
                                list_append(pexps, e);
-                               split_aggr_and_project(sql, aexps, e->l);
+                               e->l = split_aggr_and_project(sql, aexps, e->l);
                                break;
                        default: /* simple alias */
                                list_append(aexps, e);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to