Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1153422

Browse files
committed
Remove unused 'cur_skey' argument from IndexScanOK()
Commit a78fcfb removed the last use of it. Author: Hugo Zhang, Aleksander Alekseev Reviewed-by: Daniel Gustafsson Discussion: https://www.postgresql.org/message-id/NT0PR01MB129459E243721B954611938F9CDD2%40NT0PR01MB1294.CHNPR01.prod.partner.outlook.cn
1 parent e882bca commit 1153422

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
static bool
1197-
IndexScanOK(CatCache *cache, ScanKey cur_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)