summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/dbs/Repository.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/cmscore/dbs/Repository.java')
-rw-r--r--base/common/src/com/netscape/cmscore/dbs/Repository.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/cmscore/dbs/Repository.java b/base/common/src/com/netscape/cmscore/dbs/Repository.java
index 4a438c07c..57ac5004d 100644
--- a/base/common/src/com/netscape/cmscore/dbs/Repository.java
+++ b/base/common/src/com/netscape/cmscore/dbs/Repository.java
@@ -393,14 +393,13 @@ public abstract class Repository implements IRepository {
CMS.debug("Reached the end of the range. Attempting to move to next range");
mMinSerialNo = mNextMinSerialNo;
mMaxSerialNo = mNextMaxSerialNo;
- mLastSerialNo = mMinSerialNo;
mNextMinSerialNo = null;
mNextMaxSerialNo = null;
if ((mMaxSerialNo == null) || (mMinSerialNo == null)) {
throw new EDBException(CMS.getUserMessage("CMS_DBS_LIMIT_REACHED",
mLastSerialNo.toString()));
}
-
+ mLastSerialNo = mMinSerialNo;
// persist the changes
mDB.setMinSerialConfig(mRepo, mMinSerialNo.toString());
mDB.setMaxSerialConfig(mRepo, mMaxSerialNo.toString());