Changeset: a2d693ff43ae for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a2d693ff43ae
Modified Files:
        gdk/gdk_batop.c
Branch: Feb2013
Log Message:

BATmergecand() & BATintersectcand(): correctly assert on tail (not head) type


diffs (25 lines):

diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -2223,8 +2223,8 @@ BATmergecand(BAT *a, BAT *b)
        BATcheck(b, "BATmergecand");
        assert(a->htype == TYPE_void);
        assert(b->htype == TYPE_void);
-       assert(ATOMtype(a->htype) == TYPE_oid);
-       assert(ATOMtype(b->htype) == TYPE_oid);
+       assert(ATOMtype(a->ttype) == TYPE_oid);
+       assert(ATOMtype(b->ttype) == TYPE_oid);
        assert(a->tsorted);
        assert(b->tsorted);
        assert(a->tkey);
@@ -2318,8 +2318,8 @@ BATintersectcand(BAT *a, BAT *b)
        BATcheck(b, "BATintersectcand");
        assert(a->htype == TYPE_void);
        assert(b->htype == TYPE_void);
-       assert(ATOMtype(a->htype) == TYPE_oid);
-       assert(ATOMtype(b->htype) == TYPE_oid);
+       assert(ATOMtype(a->ttype) == TYPE_oid);
+       assert(ATOMtype(b->ttype) == TYPE_oid);
        assert(a->tsorted);
        assert(b->tsorted);
        assert(a->tkey);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to