Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix capped comment

  • Loading branch information...
commit bf79f5a009e1e18fbcc78ffea86a0de8e4c5a706 1 parent 55acd83
@astaple astaple authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 db/cap.cpp
View
9 db/cap.cpp
@@ -297,11 +297,10 @@ namespace mongo {
!i.drec()->nextDeleted.isNull() &&
!inCapExtent( i.drec()->nextDeleted );
i = i.drec()->nextDeleted );
- // In our capped storage model, every extent with real
- // records must have at least one deleted record. Here
- // we check that 'i' is not the last deleted record.
- // (We expect that there will be deleted records in
- // the new capExtent as well.)
+ // In our capped storage model, every extent must have at least one
+ // deleted record. Here we check that 'i' is not the last deleted
+ // record. (We expect that there will be deleted records in the new
+ // capExtent as well.)
assert( !i.drec()->nextDeleted.isNull() );
cappedLastDelRecLastExtent().writing() = i;
}
Please sign in to comment.
Something went wrong with that request. Please try again.