Changeset: 0b068251b2f7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0b068251b2f7 Modified Files: gdk/gdk_calc.c Branch: batcalc-candidates Log Message:
NULL result only if the IF clause is NULL, not the THEN and ELSE diffs (12 lines): diff --git a/gdk/gdk_calc.c b/gdk/gdk_calc.c --- a/gdk/gdk_calc.c +++ b/gdk/gdk_calc.c @@ -8924,7 +8924,7 @@ VARcalcrsh(ValPtr ret, const ValRecord * v2 = ((const TYPE2 *) src2)[projected == 2 ? i : cand ? cand[i] - hoff : start + i]; \ if (src3) \ v3 = ((const TYPE2 *) src3)[projected == 2 ? i : cand ? cand[i] - hoff : start + i]; \ - if (is_##TYPE1##_nil(v1) || is_##TYPE2##_nil(v2) || is_##TYPE2##_nil(v3)) { \ + if (is_##TYPE1##_nil(v1)) { \ ((TYPE3 *) dst)[i] = TYPE3##_nil; \ nils++; \ } else { \ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list