From 191931c4390ab1ede373e6772aa4d3999518fdaf Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Mon, 10 Jul 2017 15:44:26 -0400 Subject: SERVER-28509 Flatten DBClient hierarchy to just DBClientBase and subclasses --- src/mongo/db/pipeline/document_source_out.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db') 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& 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() { -- cgit v1.2.1