Changeset: 4d7d0c984115 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4d7d0c984115
Modified Files:
        gdk/gdk_group.c
Branch: Jul2017
Log Message:

Better check to see whether we can take the shortcut.


diffs (14 lines):

diff --git a/gdk/gdk_group.c b/gdk/gdk_group.c
--- a/gdk/gdk_group.c
+++ b/gdk/gdk_group.c
@@ -689,8 +689,8 @@ BATgroup_internal(BAT **groups, BAT **ex
                        }
                        return GDK_SUCCEED;
                }
-               if ((extents == NULL) == (e == NULL) &&
-                   (histo == NULL) == (h == NULL)) {
+               if ((extents == NULL || e != NULL) &&
+                   (histo == NULL || h != NULL)) {
                        /* inherit given grouping; note that if
                         * extents/histo is to be returned, we need
                         * e/h available in order to copy them,
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to