summaryrefslogtreecommitdiff
path: root/src/hash/hash_rec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/hash_rec.c')
-rw-r--r--src/hash/hash_rec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hash/hash_rec.c b/src/hash/hash_rec.c
index 58965569..8a39d880 100644
--- a/src/hash/hash_rec.c
+++ b/src/hash/hash_rec.c
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright (c) 1995, 1996
@@ -232,6 +232,7 @@ __ham_insdel_42_recover(env, dbtp, lsnp, op, info)
REC_DIRTY(mpf, ip, file_dbp->priority, &pagep);
ktype = DB_UNDO(op) || PAIR_ISKEYBIG(argp->opcode) ?
H_OFFPAGE : H_KEYDATA;
+ /* TODO: May need a PAIR_ISDATABLOB here. */
if (PAIR_ISDATADUP(argp->opcode))
dtype = H_DUPLICATE;
else if (DB_UNDO(op) || PAIR_ISDATABIG(argp->opcode))
@@ -957,9 +958,8 @@ __ham_metagroup_recover(env, dbtp, lsnp, op, info)
if (IS_ZERO_LSN(LSN(pagep))) {
REC_DIRTY(mpf, ip, dbc->priority, &pagep);
- P_INIT(pagep, file_dbp->pgsize,
- PGNO_INVALID, PGNO_INVALID, PGNO_INVALID,
- 0, P_HASH);
+ P_INIT(pagep, file_dbp->pgsize, pgno,
+ PGNO_INVALID, PGNO_INVALID, 0, P_HASH);
}
if ((ret =
__memp_fput(mpf, ip, pagep, dbc->priority)) != 0)