Skip to content

Commit 4614669

Browse files
author
Artur Zakirov
committed
Fix comments in rumget.c
1 parent 6b8b942 commit 4614669

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rumget.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,10 @@ startScan(IndexScanDesc scan)
646646
for (i = 0; i < so->nkeys; i++)
647647
startScanKey(rumstate, so->keys + i);
648648

649+
/*
650+
* Check if we can use a fast scan: should exists at least one
651+
* preConsistent method.
652+
*/
649653
for (i = 0; i < so->nkeys; i++)
650654
{
651655
RumScanKey key = &so->keys[i];
@@ -1315,7 +1319,7 @@ scanPage(RumState *rumstate, RumScanEntry entry, ItemPointer item, Page page,
13151319
}
13161320

13171321
/*
1318-
* Find item pointer of entry with is greater or equal to given item pointer.
1322+
* Find item of scan entry wich is greater or equal to the given item.
13191323
*/
13201324
static void
13211325
entryFindItem(RumState *rumstate, RumScanEntry entry, RumKey *item)

0 commit comments

Comments
 (0)