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

Change expression.  Also see changeset ae2a8972d21e.


diffs (12 lines):

diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -1166,7 +1166,7 @@ BATorder_internal(BAT *b, int stable, in
                 * column needs to be key) */
                return BATrevert(b);
        }
-       if ((!(reverse && b->hrevsorted) && !(!reverse && b->hsorted)) &&
+       if (!(reverse ? b->hrevsorted : b->hsorted) &&
            do_sort(Hloc(b, BUNfirst(b)), Tloc(b, BUNfirst(b)),
                    b->H->vheap ? b->H->vheap->base : NULL,
                    BATcount(b), Hsize(b), Tsize(b), b->htype,
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to