diff options
Diffstat (limited to 'src/mongo/db/lasterror.cpp')
-rw-r--r-- | src/mongo/db/lasterror.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/lasterror.cpp b/src/mongo/db/lasterror.cpp index a3741cbcb7b..d56e0479f08 100644 --- a/src/mongo/db/lasterror.cpp +++ b/src/mongo/db/lasterror.cpp @@ -94,6 +94,7 @@ namespace mongo { uassert(13649, "no operation yet", le); le->disabled = true; le->nPrev--; // caller is a command that shouldn't count as an operation + le->writebackSince--; // same as above return le; } @@ -136,6 +137,7 @@ namespace mongo { else { err->disabled = false; err->nPrev++; + err->writebackSince++; } } |