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

A little too optimistic
tseqbase+tdense+count equality does not necessary mean equal ranges.


diffs (14 lines):

diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -2256,10 +2256,6 @@ BATmergecand(BAT *a, BAT *b)
        assert(a->T->nonil);
        assert(b->T->nonil);
 
-       /* we could return a if they denote the same projection */
-       if ( a->tseqbase == b->tseqbase && a->tdense && b->tdense && 
BATcount(a) == BATcount(b)){
-               return BATcopy(a, a->htype, a->ttype,0);
-       }
        /* we could return a if b is empty (and v.v.) */
        if ( BATcount(a) == 0){
                return BATcopy(b, b->htype, b->ttype, 0);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to