diff options
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/pipeline/document_source_out.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_out.cpp b/src/mongo/db/pipeline/document_source_out.cpp index 069257abcb9..5eb3d8b4b51 100644 --- a/src/mongo/db/pipeline/document_source_out.cpp +++ b/src/mongo/db/pipeline/document_source_out.cpp @@ -137,7 +137,7 @@ void DocumentSourceOut::initialize() { << indexBson << " error: " << err, - DBClientWithCommands::getLastErrorString(err).empty()); + DBClientBase::getLastErrorString(err).empty()); } _initialized = true; } @@ -146,7 +146,7 @@ void DocumentSourceOut::spill(const vector<BSONObj>& toInsert) { BSONObj err = _mongod->insert(_tempNs, toInsert); uassert(16996, str::stream() << "insert for $out failed: " << err, - DBClientWithCommands::getLastErrorString(err).empty()); + DBClientBase::getLastErrorString(err).empty()); } DocumentSource::GetNextResult DocumentSourceOut::getNext() { |