mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Fix inconsistencies and typos in the tree, take 11
This fixes various typos in docs and comments, and removes some orphaned definitions. Author: Alexander Lakhin Discussion: https://postgr.es/m/5da8e325-c665-da95-21e0-c8a99ea61fbf@gmail.com
This commit is contained in:
@@ -742,8 +742,8 @@ FreePageBtreeConsolidate(FreePageManager *fpm, FreePageBtree *btp)
|
||||
|
||||
/*
|
||||
* If we can fit our keys onto our left sibling's page, consolidate. In
|
||||
* this case, we move our keys onto the other page rather than visca
|
||||
* versa, to avoid having to adjust ancestor keys.
|
||||
* this case, we move our keys onto the other page rather than vice versa,
|
||||
* to avoid having to adjust ancestor keys.
|
||||
*/
|
||||
np = FreePageBtreeFindLeftSibling(base, btp);
|
||||
if (np != NULL && btp->hdr.nused + np->hdr.nused <= max)
|
||||
|
||||
Reference in New Issue
Block a user