diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-10-12 18:17:31 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-10-17 09:25:40 -0400 |
commit | d77201bbde61bf9e19eca81d73bbcb8bd85c757c (patch) | |
tree | 74d3ab587646f620aadd8c6ad92730a17a32d907 /src/mongo/bson/bsonobjbuilder.h | |
parent | 5eb95437e55acb07680c72a8a14a2f485bce94d7 (diff) | |
download | mongo-d77201bbde61bf9e19eca81d73bbcb8bd85c757c.tar.gz |
SERVER-30532 Remove IDL-generated parser for the findAndModify result
Instead only use a generator, but not parser. Also adds
lastErrorObject.upserted to the findAndModify retry result.
Diffstat (limited to 'src/mongo/bson/bsonobjbuilder.h')
-rw-r--r-- | src/mongo/bson/bsonobjbuilder.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/bson/bsonobjbuilder.h b/src/mongo/bson/bsonobjbuilder.h index 3b263ca3355..38dae8234fa 100644 --- a/src/mongo/bson/bsonobjbuilder.h +++ b/src/mongo/bson/bsonobjbuilder.h @@ -500,11 +500,6 @@ public: return appendSymbol(fieldName, symbol.symbol); } - /** Implements builder interface but no-op in ObjBuilder */ - void appendNull() { - msgasserted(16234, "Invalid call to appendNull in BSONObj Builder."); - } - /** Append a Null element to the object */ BSONObjBuilder& appendNull(StringData fieldName) { _b.appendNum((char)jstNULL); |