diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-28 18:40:59 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-28 18:40:59 -0400 |
commit | 8bc2783d2e6e39c0910455b4eac9e0f93a482cfc (patch) | |
tree | 46a523ea698d1a9a80013816d8e568e2fdd2f2dc /src/mongo/db/commands/index_filter_commands.h | |
parent | 0672061deb58aac931912bed68d014247c581968 (diff) | |
download | mongo-8bc2783d2e6e39c0910455b4eac9e0f93a482cfc.tar.gz |
Revert "SERVER-13961 Pass LockState to DBWrite and DBRead directly"
This reverts commit 0672061deb58aac931912bed68d014247c581968.
Diffstat (limited to 'src/mongo/db/commands/index_filter_commands.h')
-rw-r--r-- | src/mongo/db/commands/index_filter_commands.h | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/src/mongo/db/commands/index_filter_commands.h b/src/mongo/db/commands/index_filter_commands.h index 4ae6824162f..a08ddd816db 100644 --- a/src/mongo/db/commands/index_filter_commands.h +++ b/src/mongo/db/commands/index_filter_commands.h @@ -76,9 +76,7 @@ namespace mongo { * One action type defined for index filter commands: * - planCacheIndexFilter */ - virtual Status checkAuthForCommand(OperationContext* txn, - ClientBasic* client, - const std::string& dbname, + virtual Status checkAuthForCommand(ClientBasic* client, const std::string& dbname, const BSONObj& cmdObj); /** @@ -87,9 +85,7 @@ namespace mongo { * Should contain just enough logic to invoke run*Command() function * in query_settings.h */ - virtual Status runIndexFilterCommand(OperationContext* txn, - const std::string& ns, - BSONObj& cmdObj, + virtual Status runIndexFilterCommand(const std::string& ns, BSONObj& cmdObj, BSONObjBuilder* bob) = 0; private: @@ -106,10 +102,7 @@ namespace mongo { public: ListFilters(); - virtual Status runIndexFilterCommand(OperationContext* txn, - const std::string& ns, - BSONObj& cmdObj, - BSONObjBuilder* bob); + virtual Status runIndexFilterCommand(const std::string& ns, BSONObj& cmdObj, BSONObjBuilder* bob); /** * Looks up index filters from collection's query settings. @@ -128,10 +121,7 @@ namespace mongo { public: ClearFilters(); - virtual Status runIndexFilterCommand(OperationContext* txn, - const std::string& ns, - BSONObj& cmdObj, - BSONObjBuilder* bob); + virtual Status runIndexFilterCommand(const std::string& ns, BSONObj& cmdObj, BSONObjBuilder* bob); /** * If query shape is provided, clears index filter for a query. @@ -159,10 +149,7 @@ namespace mongo { public: SetFilter(); - virtual Status runIndexFilterCommand(OperationContext* txn, - const std::string& ns, - BSONObj& cmdObj, - BSONObjBuilder* bob); + virtual Status runIndexFilterCommand(const std::string& ns, BSONObj& cmdObj, BSONObjBuilder* bob); /** * Sets index filter for a query shape. |