Skip to content

Commit e8c334c

Browse files
committed
Fix typos in e0b1ee1
Reported-by: Alexander Lakhin
1 parent ffb69b2 commit e8c334c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/access/nbtree/nbtsearch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
16651665
/*
16661666
* If the result of prechecking required keys was true, then in
16671667
* assert-enabled builds we also recheck that _bt_checkkeys()
1668-
* result is is the same.
1668+
* result is the same.
16691669
*/
16701670
Assert(!requiredMatchedByPrecheck ||
16711671
passes_quals == _bt_checkkeys(scan, itup, indnatts, dir,

src/backend/access/nbtree/nbtutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ _bt_checkkeys(IndexScanDesc scan, IndexTuple tuple, int tupnatts,
14151415

14161416
/*
14171417
* Is the key required for scanning for either forward or backward
1418-
* direction? If so and called told us that these types of keys are
1418+
* direction? If so and caller told us that these types of keys are
14191419
* known to be matched, skip the check. Except for the row keys,
14201420
* where NULLs could be found in the middle of matching values.
14211421
*/

0 commit comments

Comments
 (0)