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

Commit1153422

Browse files
committed
Remove unused 'cur_skey' argument from IndexScanOK()
Commita78fcfb removed the last use of it.Author: Hugo Zhang, Aleksander AlekseevReviewed-by: Daniel GustafssonDiscussion:https://www.postgresql.org/message-id/NT0PR01MB129459E243721B954611938F9CDD2%40NT0PR01MB1294.CHNPR01.prod.partner.outlook.cn
1 parente882bca commit1153422

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/utils/cache/catcache.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ InitCatCachePhase2(CatCache *cache, bool touch_index)
11941194
*catalogs' indexes.
11951195
*/
11961196
staticbool
1197-
IndexScanOK(CatCache*cache,ScanKeycur_skey)
1197+
IndexScanOK(CatCache*cache)
11981198
{
11991199
switch (cache->id)
12001200
{
@@ -1483,7 +1483,7 @@ SearchCatCacheMiss(CatCache *cache,
14831483

14841484
scandesc=systable_beginscan(relation,
14851485
cache->cc_indexoid,
1486-
IndexScanOK(cache,cur_skey),
1486+
IndexScanOK(cache),
14871487
NULL,
14881488
nkeys,
14891489
cur_skey);
@@ -1803,7 +1803,7 @@ SearchCatCacheList(CatCache *cache,
18031803

18041804
scandesc=systable_beginscan(relation,
18051805
cache->cc_indexoid,
1806-
IndexScanOK(cache,cur_skey),
1806+
IndexScanOK(cache),
18071807
NULL,
18081808
nkeys,
18091809
cur_skey);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp