diff options
author | Andrew Morrow <acm@mongodb.com> | 2014-12-31 17:24:09 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-01-08 07:37:10 -0500 |
commit | f12f4f0e209d8a88b154e78ad17a00965cd465e4 (patch) | |
tree | 6fae02481871508ba5fb05614fbbb3e28a6abd27 /jstests | |
parent | 10ca9ff64115ac020cb2301cc98c6d8ba9162dce (diff) | |
download | mongo-f12f4f0e209d8a88b154e78ad17a00965cd465e4.tar.gz |
SERVER-16772 Don't attempt in-place when underlying storage has no support
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/core/update_setOnInsert.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/core/update_setOnInsert.js b/jstests/core/update_setOnInsert.js index abcbdfa9819..ab0b8d51d94 100644 --- a/jstests/core/update_setOnInsert.js +++ b/jstests/core/update_setOnInsert.js @@ -25,7 +25,6 @@ function dotest( useIndex ) { assert.docEq( { _id : 5, a: 4, x : 4 }, t.findOne() ); op = getLastOp(); - assert( op.fastmod ); } dotest( false ); @@ -43,4 +42,4 @@ assert.writeError(res, "$setOnInsert _id.a/b worked" ); res = t.update( {"_id.a": 4} , { $setOnInsert: { "_id": {a:4, b:1} } } , true ); assert.writeError(res, "$setOnInsert _id.a/a+b worked" ); -db.setProfilingLevel( 0 );
\ No newline at end of file +db.setProfilingLevel( 0 ); |