mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Remove meaningless assignments in nbtree code
Reported-by: Ranier Vilela Discussion: https://postgr.es/m/MN2PR18MB2927BB876D12A70FDBE8F35AE3450@MN2PR18MB2927.namprd18.prod.outlook.com Backpatch-through: master
This commit is contained in:
parent
2b93e3d96b
commit
05684c8255
@ -1600,7 +1600,6 @@ _bt_mark_page_halfdead(Relation rel, Buffer leafbuf, BTStack stack)
|
||||
* fail in the field, though.
|
||||
*/
|
||||
page = BufferGetPage(topparent);
|
||||
opaque = (BTPageOpaque) PageGetSpecialPointer(page);
|
||||
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
itemid = PageGetItemId(page, topoff);
|
||||
|
@ -590,8 +590,6 @@ btree_xlog_mark_page_halfdead(uint8 info, XLogReaderState *record)
|
||||
BlockNumber rightsib;
|
||||
|
||||
page = (Page) BufferGetPage(buffer);
|
||||
pageop = (BTPageOpaque) PageGetSpecialPointer(page);
|
||||
|
||||
poffset = xlrec->poffset;
|
||||
|
||||
nextoffset = OffsetNumberNext(poffset);
|
||||
|
Loading…
Reference in New Issue
Block a user