Changeset: fa32cb9c7136 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fa32cb9c7136
Modified Files:
        sql/server/rel_exp.c
Branch: Dec2023
Log Message:

fixed issue # 7465
the range compare got incorrectly optimized away.


diffs (12 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
@@ -1837,7 +1837,7 @@ exp_two_sided_bound_cmp_exp_is_false(sql
     sql_exp* h = e->f;
     assert (v && l && h);
 
-    return is_anti(e) ? exp_is_null(v) || (exp_is_null(l) && exp_is_null(h)) : 
exp_is_null(l) || exp_is_null(v) || exp_is_null(h);
+    return is_anti(e) ? exp_is_null(v) || (exp_is_null(l) && exp_is_null(h)) : 
false;
 }
 
 static inline bool
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to