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

add some more protection


diffs (12 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
@@ -6516,6 +6516,8 @@ exp_range_overlap( mvc *sql, sql_exp *e,
 {
        sql_subtype *t = exp_subtype(e);
 
+       if (!min || !max || !emin || !emax)
+               return 0;
        if (t->type->localtype == TYPE_dbl) {
                atom *cmin = atom_general(sql->sa, t, min);
                atom *cmax = atom_general(sql->sa, t, max);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to