diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-03-26 16:40:28 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-03-27 10:25:09 -0400 |
commit | 92593d1af174244ba5560be29908b4f729fec78c (patch) | |
tree | d98ba6959b2f91da14aad46794248d2323c7ce08 /src/mongo/db/pipeline | |
parent | 18a3b8528833a478d5a207bfe5fcb8e35673ee8f (diff) | |
download | mongo-92593d1af174244ba5560be29908b4f729fec78c.tar.gz |
SERVER-17758 Move AutoGet* and Client::*Context to their own file.
The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and
Client::WriteContext is OldClientWriteContext.
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r-- | src/mongo/db/pipeline/document_source_cursor.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/pipeline/pipeline_d.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_cursor.cpp b/src/mongo/db/pipeline/document_source_cursor.cpp index c2cd4ddb539..3891008ff1c 100644 --- a/src/mongo/db/pipeline/document_source_cursor.cpp +++ b/src/mongo/db/pipeline/document_source_cursor.cpp @@ -33,6 +33,7 @@ #include <boost/shared_ptr.hpp> #include "mongo/db/catalog/database_holder.h" +#include "mongo/db/db_raii.h" #include "mongo/db/exec/working_set_common.h" #include "mongo/db/instance.h" #include "mongo/db/pipeline/document.h" @@ -41,7 +42,6 @@ #include "mongo/db/storage_options.h" #include "mongo/s/d_state.h" - namespace mongo { using boost::intrusive_ptr; diff --git a/src/mongo/db/pipeline/pipeline_d.cpp b/src/mongo/db/pipeline/pipeline_d.cpp index b11e0ede71e..51a4a6ef4cd 100644 --- a/src/mongo/db/pipeline/pipeline_d.cpp +++ b/src/mongo/db/pipeline/pipeline_d.cpp @@ -36,6 +36,7 @@ #include "mongo/client/dbclientinterface.h" #include "mongo/db/catalog/collection.h" #include "mongo/db/catalog/database.h" +#include "mongo/db/db_raii.h" #include "mongo/db/dbdirectclient.h" #include "mongo/db/pipeline/document_source.h" #include "mongo/db/pipeline/pipeline.h" |