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

fixes for bug 6470 (it seems to hint on new problems in the thetaselect though)


diffs (15 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -66,9 +66,9 @@ rel_no_mitosis(sql_rel *rel)
 {
        int is_point = 0;
 
-       if (!rel)
+       if (!rel || is_basetable(rel->op))
                return 1;
-       if (is_project(rel->op))
+       if (is_topn(rel->op) || is_project(rel->op))
                return rel_no_mitosis(rel->l);
        if (is_modify(rel->op) && rel->card <= CARD_AGGR)
                return rel_no_mitosis(rel->r);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to