diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-04-09 16:25:42 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-04-15 13:26:14 -0400 |
commit | 1249034444dc146eb6177fbe4845e593b807f84d (patch) | |
tree | 68eaa1b22e33c89e73f7fac06ce5644f5990825e /src/mongo/db/clientcursor.cpp | |
parent | b3aaf2e5809e272367b0f60f66938d8bf712702c (diff) | |
download | mongo-1249034444dc146eb6177fbe4845e593b807f84d.tar.gz |
SERVER-13498 Get rid of LockStatus
This change removes all usages of LockStatus and pushes the lock
acquisitions to be inside the respective commands. This is a
refactoring on the way to per-document locking.
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r-- | src/mongo/db/clientcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp index 0ccd1ff78fa..a28d05cfa8e 100644 --- a/src/mongo/db/clientcursor.cpp +++ b/src/mongo/db/clientcursor.cpp @@ -336,7 +336,7 @@ namespace mongo { virtual void help( stringstream& help ) const { help << " example: { cursorInfo : 1 }, deprecated"; } - virtual LockType locktype() const { return NONE; } + virtual bool isWriteCommandForConfigServer() const { return false; } virtual void addRequiredPrivileges(const std::string& dbname, const BSONObj& cmdObj, std::vector<Privilege>* out) { |