Changeset: 8d569b6efd4c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8d569b6efd4c
Modified Files:
        gdk/gdk_calc.c
Branch: Jul2021
Log Message:

Typo, noticed by ihsinme.
It doesn't make a difference at all.


diffs (15 lines):

diff --git a/gdk/gdk_calc.c b/gdk/gdk_calc.c
--- a/gdk/gdk_calc.c
+++ b/gdk/gdk_calc.c
@@ -4205,9 +4205,9 @@ BATcalcadd(BAT *b1, BAT *b2, BAT *s1, BA
        /* if both inputs are sorted the same way, and no overflow
         * occurred (we only know for sure if abort_on_error is set),
         * the result is also sorted */
-       bn->tsorted = (abort_on_error && b1->tsorted & b2->tsorted && nils == 0)
+       bn->tsorted = (abort_on_error && b1->tsorted && b2->tsorted && nils == 
0)
                || ncand <= 1 || nils == ncand;
-       bn->trevsorted = (abort_on_error && b1->trevsorted & b2->trevsorted && 
nils == 0)
+       bn->trevsorted = (abort_on_error && b1->trevsorted && b2->trevsorted && 
nils == 0)
                || ncand <= 1 || nils == ncand;
        bn->tkey = ncand <= 1;
        bn->tnil = nils != 0;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to