Changeset: f9a7b0b8f562 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f9a7b0b8f562
Modified Files:
        gdk/gdk_firstn.c
Branch: default
Log Message:

Update properties.


diffs (15 lines):

diff --git a/gdk/gdk_firstn.c b/gdk/gdk_firstn.c
--- a/gdk/gdk_firstn.c
+++ b/gdk/gdk_firstn.c
@@ -1385,6 +1385,11 @@ BATgroupedfirstn(BUN n, BAT *s, BAT *g, 
                GDKfree(batinfo);
                return NULL;
        }
+       /* result is unlikely to be sorted, and there may be nils if
+        * there are groups that are too small */
+       bn->tsorted = bn->trevsorted = bn->batCount <= 1;
+       bn->tnil = false;
+       bn->tnonil = false;
 
        for (int i = 0; i < nbats; i++) {
                batinfo[i] = (struct batinfo) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to