Changeset: 046dfad07c32 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/046dfad07c32
Modified Files:
        gdk/gdk_calc_compare.h
Branch: Mar2025
Log Message:

Remove unlikely to be correct assertion.
The assert could potentially be triggered when a void bat is compared to
a void value.  This could maybe happen due to the change of NULL
representation in changeset 62e1a865cdd1.


diffs (11 lines):

diff --git a/gdk/gdk_calc_compare.h b/gdk/gdk_calc_compare.h
--- a/gdk/gdk_calc_compare.h
+++ b/gdk/gdk_calc_compare.h
@@ -35,7 +35,6 @@ op_typeswitchloop(const void *lft, int t
        switch (tp1) {
        case TYPE_void: {
                assert(incr1);
-               assert(tp2 == TYPE_oid || incr2); /* if void, incr2==1 */
                oid v = lft ? * (const oid *) lft : oid_nil;
                TIMEOUT_LOOP_IDX(k, ncand, qry_ctx) {
                        TPE res;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to