diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
---|---|---|
committer | <> | 2015-03-17 16:26:24 +0000 |
commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /src/qam/qam_rec.c | |
parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
download | berkeleydb-master.tar.gz |
Diffstat (limited to 'src/qam/qam_rec.c')
-rw-r--r-- | src/qam/qam_rec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qam/qam_rec.c b/src/qam/qam_rec.c index c9ff6c83..c5f6b3f4 100644 --- a/src/qam/qam_rec.c +++ b/src/qam/qam_rec.c @@ -1,7 +1,7 @@ /*- * See the file LICENSE for redistribution information. * - * Copyright (c) 1999, 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2015 Oracle and/or its affiliates. All rights reserved. * * $Id$ */ @@ -152,6 +152,10 @@ __qam_incfirst_recover(env, dbtp, lsnp, op, info) REC_DIRTY(mpf, ip, dbc->priority, &meta); LSN(meta) = *lsnp; } + if (QAM_BEFORE_FIRST(meta, argp->recno)) { + REC_DIRTY(mpf, ip, dbc->priority, &meta); + meta->first_recno = argp->recno; + } if ((ret = __qam_adjust_first(file_dbp, dbc, meta, argp->recno + 1)) != 0) goto err; |