Commit 11375815 authored by Peter Geoghegan's avatar Peter Geoghegan

nbtree: Fix obsolete _bt_search() comment.

Oversight in commit d2086b08.
parent 8b6d94cf
...@@ -83,8 +83,8 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp) ...@@ -83,8 +83,8 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp)
* but it can omit the rightmost column(s) of the index. * but it can omit the rightmost column(s) of the index.
* *
* Return value is a stack of parent-page pointers. *bufP is set to the * Return value is a stack of parent-page pointers. *bufP is set to the
* address of the leaf-page buffer, which is read-locked and pinned. * address of the leaf-page buffer, which is locked and pinned. No locks
* No locks are held on the parent pages, however! * are held on the parent pages, however!
* *
* If the snapshot parameter is not NULL, "old snapshot" checking will take * If the snapshot parameter is not NULL, "old snapshot" checking will take
* place during the descent through the tree. This is not needed when * place during the descent through the tree. This is not needed when
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment