Skip to content

Commit 7e94998

Browse files
committed
Adjust out-of-date comment.
1 parent 2ef172a commit 7e94998

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/backend/utils/hash/dynahash.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/utils/hash/dynahash.c,v 1.59 2005/05/06 00:19:14 tgl Exp $
12+
* $PostgreSQL: pgsql/src/backend/utils/hash/dynahash.c,v 1.60 2005/05/16 00:19:04 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -747,11 +747,10 @@ hash_seq_search(HASH_SEQ_STATUS *status)
747747
segp = hashp->dir[segment_num];
748748

749749
/*
750-
* Pick up the first item in this bucket's chain. If chain is
751-
* not empty we can go back around the outer loop to search it.
752-
* Otherwise we have to advance to find the next nonempty bucket.
753-
* We try to optimize that case since searching a near-empty
754-
* hashtable has to iterate this loop a lot.
750+
* Pick up the first item in this bucket's chain. If chain is not empty
751+
* we can begin searching it. Otherwise we have to advance to find the
752+
* next nonempty bucket. We try to optimize that case since searching a
753+
* near-empty hashtable has to iterate this loop a lot.
755754
*/
756755
while ((curElem = segp[segment_ndx]) == NULL)
757756
{

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