summaryrefslogtreecommitdiff
path: root/src/qam/qam_rec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qam/qam_rec.c')
-rw-r--r--src/qam/qam_rec.c6
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;