Changeset: b6b728af6d49 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b6b728af6d49
Modified Files:
gdk/gdk_batop.c
gdk/gdk_firstn.c
Branch: Jun2016
Log Message:
Fixed some comments.
diffs (24 lines):
diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -839,7 +839,7 @@ BATslice(BAT *b, BUN l, BUN h)
}
/* Return whether the BAT is ordered or not. If we don't know, invest
-* in a scan and record the results in the bat descriptor. */
+ * in a scan and record the results in the bat descriptor. */
int
BATordered(BAT *b)
{
diff --git a/gdk/gdk_firstn.c b/gdk/gdk_firstn.c
--- a/gdk/gdk_firstn.c
+++ b/gdk/gdk_firstn.c
@@ -154,7 +154,7 @@ BATfirstn_unique(BAT *b, BAT *s, BUN n,
BATseqbase(BATmirror(bn), start + b->hseqbase);
return bn;
}
- /* note, we want to do bot calls */
+ /* note, we want to do both calls */
if (BATordered(b) | BATordered_rev(b)) {
/* trivial: b is sorted so we just need to return the
* initial or final part of it (or of the candidate
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list