8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/access/hash/hashsearch.c,v 1.40 2005/10/15 02:49:08 momjian Exp $
11
+ * $PostgreSQL: pgsql/src/backend/access/hash/hashsearch.c,v 1.41 2005/10/18 01:06:23 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -247,7 +247,6 @@ _hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir)
247
247
HashPageOpaque opaque ;
248
248
OffsetNumber maxoff ;
249
249
OffsetNumber offnum ;
250
- Bucket bucket ;
251
250
BlockNumber blkno ;
252
251
HashItem hitem ;
253
252
IndexTuple itup ;
@@ -258,7 +257,6 @@ _hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir)
258
257
page = BufferGetPage (buf );
259
258
_hash_checkpage (rel ,page ,LH_BUCKET_PAGE |LH_OVERFLOW_PAGE );
260
259
opaque = (HashPageOpaque )PageGetSpecialPointer (page );
261
- bucket = opaque -> hasho_bucket ;
262
260
263
261
/*
264
262
* If _hash_step is called from _hash_first, current will not be valid, so
@@ -274,8 +272,8 @@ _hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir)
274
272
/*
275
273
* 'offnum' now points to the last tuple we have seen (if any).
276
274
*
277
- * continue to step through tuples until: 1) we get to the end of the bucket
278
- * chain or 2) we find a valid tuple.
275
+ * continue to step through tuples until: 1) we get to the end of the
276
+ *bucket chain or 2) we find a valid tuple.
279
277
*/
280
278
do
281
279
{