Skip to content

Commit ca38912

Browse files
committed
Fix failing -D HASH_STATISTICS builds
This seems to have been broken for a few years by cc5ef90. Author: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/OSCPR01MB14966E11EEFB37D7857FCEDB7F535A@OSCPR01MB14966.jpnprd01.prod.outlook.com Backpatch-through: 17
1 parent b463288 commit ca38912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/utils/hash/dynahash.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,8 @@ hash_update_hash_key(HTAB *hashp,
11741174
HashCompareFunc match;
11751175

11761176
#ifdef HASH_STATISTICS
1177+
HASHHDR *hctl = hashp->hctl;
1178+
11771179
hash_accesses++;
11781180
hctl->accesses++;
11791181
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy