diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-07-10 15:44:26 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-07-26 15:13:34 -0400 |
commit | 191931c4390ab1ede373e6772aa4d3999518fdaf (patch) | |
tree | c35ed32b3570ee9c420f1ee27e6aeb45907952a8 /src/mongo/db/pipeline/document_source_out.cpp | |
parent | 516e0a50a0fb0e9df45cdc5f74cf0308c3706366 (diff) | |
download | mongo-191931c4390ab1ede373e6772aa4d3999518fdaf.tar.gz |
SERVER-28509 Flatten DBClient hierarchy to just DBClientBase and subclasses
Diffstat (limited to 'src/mongo/db/pipeline/document_source_out.cpp')
-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() { |