Changeset: ede1fcb9dda7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ede1fcb9dda7
Modified Files:
        sql/server/rel_optimize_proj.c
Branch: default
Log Message:

Use right call


diffs (12 lines):

diff --git a/sql/server/rel_optimize_proj.c b/sql/server/rel_optimize_proj.c
--- a/sql/server/rel_optimize_proj.c
+++ b/sql/server/rel_optimize_proj.c
@@ -1367,7 +1367,7 @@ exp_is_const_op(sql_exp *exp, sql_exp *t
                        return exps_are_const_op(exp->l, tope, expr) && 
exps_are_const_op(exp->r, tope, expr);
                if (exp->flag == cmp_in || exp->flag == cmp_notin)
                        return exp_is_const_op(exp->l, tope, expr) && 
exps_are_const_op(exp->r, tope, expr);
-               return exps_are_const_op(exp->l, tope, expr)&& 
exps_are_const_op(exp->r, tope, expr) && (!exp->f || exps_are_const_op(exp->f, 
tope, expr));
+               return exp_is_const_op(exp->l, tope, expr)&& 
exp_is_const_op(exp->r, tope, expr) && (!exp->f || exp_is_const_op(exp->f, 
tope, expr));
        case e_column: {
                if (is_simple_project(expr->op) || is_groupby(expr->op)) {
                        /* in a simple projection, self-references may occur */
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to