Changeset: 97be32b0daf2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/97be32b0daf2
Modified Files:
        monetdb5/modules/atoms/str.c
Branch: Aug2024
Log Message:

Don't enforce single value BAT. Take the first row always for icase flag. Fix 
#7540.


diffs (12 lines):

diff --git a/monetdb5/modules/atoms/str.c b/monetdb5/modules/atoms/str.c
--- a/monetdb5/modules/atoms/str.c
+++ b/monetdb5/modules/atoms/str.c
@@ -2875,7 +2875,7 @@ ignorecase(const bat *ic_id, bool *icase
        if ((c = BATdescriptor(*ic_id)) == NULL)
                throw(MAL, fname, SQLSTATE(HY002) RUNTIME_OBJECT_MISSING);
 
-       assert(BATcount(c) == 1);
+       assert(BATcount(c) >= 1);
 
        BATiter bi = bat_iterator(c);
        *icase = *(bit *) BUNtloc(bi, 0);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to