Changeset: f611c9f6ce7f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f611c9f6ce7f
Modified Files:
gdk/gdk_batop.c
Branch: default
Log Message:
Merge with Sep2022 branch.
diffs (25 lines):
diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -2067,8 +2067,9 @@ BATordered(BAT *b)
}
}
doreturn:
+ bool sorted = b->tsorted;
MT_lock_unset(&b->theaplock);
- return b->tsorted;
+ return sorted;
}
#define BAT_REVORDERED(TPE) \
@@ -2162,8 +2163,9 @@ BATordered_rev(BAT *b)
TRC_DEBUG(ALGO, "Fixed revsorted for " ALGOBATFMT " (" LLFMT "
usec)\n", ALGOBATPAR(b), GDKusec() - t0);
}
doreturn:
+ bool revsorted = b->trevsorted;
MT_lock_unset(&b->theaplock);
- return b->trevsorted;
+ return revsorted;
}
/* figure out which sort function is to be called
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]