Changeset: e326350b3f3e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e326350b3f3e
Modified Files:
sql/server/rel_exp.c
Branch: default
Log Message:
fixed order of exp_regular_cmp_exp_is_false
diffs (22 lines):
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
@@ -1987,10 +1987,14 @@ exp_regular_cmp_exp_is_false(sql_exp* e)
{
assert(e->type == e_cmp);
- if (is_semantics(e) && !is_any(e)) return exp_is_cmp_exp_is_false(e);
- if (is_any(e)) return false;
- if (e -> f) return exp_two_sided_bound_cmp_exp_is_false(e);
- else return exp_single_bound_cmp_exp_is_false(e);
+ if (is_any(e))
+ return false;
+ if (e -> f)
+ return exp_two_sided_bound_cmp_exp_is_false(e);
+ if (is_semantics(e) && !is_any(e))
+ return exp_is_cmp_exp_is_false(e);
+ else
+ return exp_single_bound_cmp_exp_is_false(e);
}
static inline bool
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]