diff options
Diffstat (limited to 'src/backend/access/hash/hashovfl.c')
| -rw-r--r-- | src/backend/access/hash/hashovfl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/hash/hashovfl.c b/src/backend/access/hash/hashovfl.c index caa4ac1a25..33f0bd40cc 100644 --- a/src/backend/access/hash/hashovfl.c +++ b/src/backend/access/hash/hashovfl.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.4 1996/10/21 05:45:14 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.5 1996/10/23 07:38:32 scrappy Exp $ * * NOTES * Overflow pages look like ordinary relation pages. @@ -132,12 +132,12 @@ static OverflowPageAddress _hash_getovfladdr(Relation rel, Buffer *metabufp) { HashMetaPage metap; - Buffer mapbuf; + Buffer mapbuf = 0; BlockNumber blkno; PageOffset offset; OverflowPageAddress oaddr; SplitNumber splitnum; - uint32 *freep; + uint32 *freep = NULL; uint32 max_free; uint32 bit; uint32 first_page; @@ -356,7 +356,7 @@ _hash_freeovflpage(Relation rel, Buffer ovflbuf) * XXX this should look like: * - lock prev/next * - modify/write prev/next (how to do write ordering with a - * doubly-linked list???) + * doubly-linked list?) * - unlock prev/next */ if (BlockNumberIsValid(prevblkno)) { @@ -503,7 +503,7 @@ _hash_squeezebucket(Relation rel, Bucket bucket) { Buffer wbuf; - Buffer rbuf; + Buffer rbuf = 0; BlockNumber wblkno; BlockNumber rblkno; Page wpage; |
