diff options
Diffstat (limited to 'db/btree.cpp')
-rw-r--r-- | db/btree.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/btree.cpp b/db/btree.cpp index d3465dadc61..becc8cb6b91 100644 --- a/db/btree.cpp +++ b/db/btree.cpp @@ -1790,6 +1790,12 @@ namespace mongo { DiskLoc xloc = loc; while( !xloc.isNull() ) { + RARELY { + getDur().commitIfNeeded(); + b = cur.btreemod(); + up = upLoc.btreemod(); + } + BtreeBucket *x = xloc.btreemod(); BSONObj k; DiskLoc r; |