aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-05-16 00:19:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-05-16 00:19:04 +0000
commit7e94998c89699be1be5b3008b02e405b4003055c (patch)
tree4d3af75d5647a401cef804d8eb5a1ac2a4644c56 /src
parent2ef172a2a4d8c093c0f2d4d580d5aab1ca8dcffe (diff)
downloadpostgresql-7e94998c89699be1be5b3008b02e405b4003055c.tar.gz
postgresql-7e94998c89699be1be5b3008b02e405b4003055c.zip
Adjust out-of-date comment.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/hash/dynahash.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/utils/hash/dynahash.c b/src/backend/utils/hash/dynahash.c
index 1ff3a9d142d..85bd82244c3 100644
--- a/src/backend/utils/hash/dynahash.c
+++ b/src/backend/utils/hash/dynahash.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/hash/dynahash.c,v 1.59 2005/05/06 00:19:14 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/hash/dynahash.c,v 1.60 2005/05/16 00:19:04 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -747,11 +747,10 @@ hash_seq_search(HASH_SEQ_STATUS *status)
segp = hashp->dir[segment_num];
/*
- * Pick up the first item in this bucket's chain. If chain is
- * not empty we can go back around the outer loop to search it.
- * Otherwise we have to advance to find the next nonempty bucket.
- * We try to optimize that case since searching a near-empty
- * hashtable has to iterate this loop a lot.
+ * Pick up the first item in this bucket's chain. If chain is not empty
+ * we can begin searching it. Otherwise we have to advance to find the
+ * next nonempty bucket. We try to optimize that case since searching a
+ * near-empty hashtable has to iterate this loop a lot.
*/
while ((curElem = segp[segment_ndx]) == NULL)
{