diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-12-23 13:54:46 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-12-28 21:26:52 -0500 |
commit | 3d017c25f5b6988f854ad6d0a50762ff2fd12e14 (patch) | |
tree | 6a89c3749d786f36a6d76deeb7aff972fe8646eb /src/mongo/db/pdfile.cpp | |
parent | 90350818b40b54b2859d0c6aefdaa171b929a7ad (diff) | |
download | mongo-3d017c25f5b6988f854ad6d0a50762ff2fd12e14.tar.gz |
SERVER-11611: remove now un-used DataFileMgr::isnertWithObjMod
Diffstat (limited to 'src/mongo/db/pdfile.cpp')
-rw-r--r-- | src/mongo/db/pdfile.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/pdfile.cpp b/src/mongo/db/pdfile.cpp index 1486ef2a56d..479eaceb361 100644 --- a/src/mongo/db/pdfile.cpp +++ b/src/mongo/db/pdfile.cpp @@ -444,16 +444,6 @@ namespace mongo { }; #pragma pack() - /** @param o the object to insert. can be modified to add _id and thus be an in/out param - */ - DiskLoc DataFileMgr::insertWithObjMod(const char* ns, BSONObj& o, bool mayInterrupt, bool god) { - bool addedID = false; - DiskLoc loc = insert( ns, o.objdata(), o.objsize(), mayInterrupt, god, true, &addedID ); - if( addedID && !loc.isNull() ) - o = BSONObj::make( loc.rec() ); - return loc; - } - /** add a record to the end of the linked list chain within this extent. require: you must have already declared write intent for the record header. */ |