Adjust out-of-date comment.
authorTom Lane <[email protected]>
Mon, 16 May 2005 00:19:04 +0000 (00:19 +0000)
committerTom Lane <[email protected]>
Mon, 16 May 2005 00:19:04 +0000 (00:19 +0000)
src/backend/utils/hash/dynahash.c

index 976c2bc7572bff2ab09616a06f7d533e1baffda3..0fc9abab6594311c54cde93f234200f94a81d9e8 100644 (file)
@@ -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)
        {