Skip to content

Commit

Permalink
Merge branch 'bugfixes/tokumx-2.0' into releases/tokumx-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Sep 30, 2014
2 parents 5a368b6 + d53e652 commit 894dfe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mongo/db/storage/env.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ namespace mongo {
const BSONObj updateObj = msg["o"].Obj();
BSONElement queryElement = msg["q"];
const BSONObj query = queryElement.ok() ? queryElement.Obj() : BSONObj();
const uint32_t fastUpdateFlags = msg["f"].Int();
BSONElement flagsElement = msg["f"];
const uint32_t fastUpdateFlags = flagsElement.ok() ? flagsElement.Int() : 0;
runUpdateMods(db, key, old_val, updateObj, query, fastUpdateFlags, set_val, set_extra);
return 0;
} catch (const std::exception &ex) {
Expand Down

0 comments on commit 894dfe2

Please sign in to comment.