Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1009920

Browse files
Tweak nbtsearch.c function prototype order.
nbtsearch.c's static function prototypes were slightly out of order.Make the order consistent with static function definition order.
1 parent0dfe3d0 commit1009920

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/access/nbtree/nbtsearch.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include"utils/rel.h"
2525

2626

27+
staticvoid_bt_drop_lock_and_maybe_pin(IndexScanDescscan,BTScanPossp);
2728
staticbool_bt_readpage(IndexScanDescscan,ScanDirectiondir,
2829
OffsetNumberoffnum);
2930
staticvoid_bt_saveitem(BTScanOpaqueso,intitemIndex,
@@ -34,7 +35,6 @@ static bool _bt_parallel_readpage(IndexScanDesc scan, BlockNumber blkno,
3435
ScanDirectiondir);
3536
staticBuffer_bt_walk_left(Relationrel,Bufferbuf,Snapshotsnapshot);
3637
staticbool_bt_endpoint(IndexScanDescscan,ScanDirectiondir);
37-
staticvoid_bt_drop_lock_and_maybe_pin(IndexScanDescscan,BTScanPossp);
3838
staticinlinevoid_bt_initialize_more_data(BTScanOpaqueso,ScanDirectiondir);
3939

4040

@@ -66,7 +66,6 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp)
6666
}
6767
}
6868

69-
7069
/*
7170
*_bt_search() -- Search the tree for a particular scankey,
7271
*or more precisely for the first leaf page it could be on.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp