diff options
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp')
-rw-r--r-- | src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp b/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp index b4e42196c99..da0d26a5cbf 100644 --- a/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp +++ b/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp @@ -2382,9 +2382,11 @@ public: } // too much work to try to make this happen through inserts and deletes // we are intentionally manipulating the btree bucket directly here - BtreeBucket::Loc* L = const_cast< BtreeBucket::Loc* >( &bt()->keyNode( 1 ).prevChildBucket ); + BtreeBucket::Loc* L = const_cast< BtreeBucket::Loc* >( + &bt()->keyNode( 1 ).prevChildBucket ); writing(L)->Null(); - writingInt( const_cast< BtreeBucket::Loc& >( bt()->keyNode( 1 ).recordLoc ).GETOFS() ) |= 1; // make unused + writingInt( const_cast< BtreeBucket::Loc& >( + bt()->keyNode( 1 ).recordLoc ).GETOFS() ) |= 1; // make unused BSONObj k = BSON( "a" << toInsert ); Base::insert( k ); } |