diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-05-19 16:05:41 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-05-19 16:05:41 -0400 |
commit | db0e1a91fdce2fa43584408a87d637cfe4bcc2ec (patch) | |
tree | 8cbefae4f2f43f41f4a512f5b8f250b1662dfbbf /src/mongo/db/operation_context_noop.h | |
parent | f2bfd36a6f3eb7e7e2587268be3cc12636703d42 (diff) | |
download | mongo-db0e1a91fdce2fa43584408a87d637cfe4bcc2ec.tar.gz |
SERVER-13637: add CollectionCatalogEntry, start Database layer
Diffstat (limited to 'src/mongo/db/operation_context_noop.h')
-rw-r--r-- | src/mongo/db/operation_context_noop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/operation_context_noop.h b/src/mongo/db/operation_context_noop.h index de5832215a7..b442f872ad9 100644 --- a/src/mongo/db/operation_context_noop.h +++ b/src/mongo/db/operation_context_noop.h @@ -58,6 +58,10 @@ namespace mongo { return Status::OK(); } + virtual bool isPrimaryFor( const StringData& ns ) { + return true; + } + private: boost::scoped_ptr<RecoveryUnitNoop> _recoveryUnit; }; |