summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-10-12 18:17:31 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-10-17 09:25:40 -0400
commitd77201bbde61bf9e19eca81d73bbcb8bd85c757c (patch)
tree74d3ab587646f620aadd8c6ad92730a17a32d907 /src/mongo/bson/bsonobjbuilder.h
parent5eb95437e55acb07680c72a8a14a2f485bce94d7 (diff)
downloadmongo-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.h5
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);