Changeset: c923b6e03aa1 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c923b6e03aa1 Modified Files: gdk/gdk_select.c Branch: leftmart Log Message:
fixing a small bug for cand list and orderidx diffs (20 lines): diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c --- a/gdk/gdk_select.c +++ b/gdk/gdk_select.c @@ -1677,11 +1677,11 @@ BATselect(BAT *b, BAT *s, const void *tl const oid *rcand = (const oid *) Tloc((s), 0); for (i = low; i < high; i++) { - if (vwl <= *rs && - *rs < vwh && - binsearchcand(rcand, 0, s->batCount, *rbn)) { - *rbn++ = *rs; - cnt++; + if (vwl <= *rs && *rs < vwh) { + if (binsearchcand(rcand, 0, s->batCount, *rs)) { + *rbn++ = *rs; + cnt++; + } } rs++; } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list