summaryrefslogtreecommitdiff
path: root/src/backend/access/nbtree/nbtsplitloc.c
diff options
context:
space:
mode:
authorMichael Paquier2023-05-02 03:23:08 +0000
committerMichael Paquier2023-05-02 03:23:08 +0000
commit8961cb9a0315fa23458587b3df547ca8d8e00f85 (patch)
treef9ea45d43d53950d56062dc9eb0cebe547503718 /src/backend/access/nbtree/nbtsplitloc.c
parent6fd8ae6888847da842ee4810fcd83b013cbed27f (diff)
Fix typos in comments
The changes done in this commit impact comments with no direct user-visible changes, with fixes for incorrect function, variable or structure names. Author: Alexander Lakhin Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/nbtree/nbtsplitloc.c')
-rw-r--r--src/backend/access/nbtree/nbtsplitloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/nbtree/nbtsplitloc.c b/src/backend/access/nbtree/nbtsplitloc.c
index ecb49bb4711..43b67893d94 100644
--- a/src/backend/access/nbtree/nbtsplitloc.c
+++ b/src/backend/access/nbtree/nbtsplitloc.c
@@ -119,7 +119,7 @@ static inline IndexTuple _bt_split_firstright(FindSplitData *state,
* righthand page (which is called firstrightoff), plus a boolean
* indicating whether the new tuple goes on the left or right page. You
* can think of the returned state as a point _between_ two adjacent data
- * items (laftleft and firstright data items) on an imaginary version of
+ * items (lastleft and firstright data items) on an imaginary version of
* origpage that already includes newitem. The bool is necessary to
* disambiguate the case where firstrightoff == newitemoff (i.e. it is
* sometimes needed to determine if the firstright tuple for the split is