summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.cpp
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2015-04-29 10:29:27 -0400
committerJames Wahlin <james.wahlin@10gen.com>2015-05-07 08:30:03 -0400
commit12f16f882a8defa3c1adf497a2333efba8934e69 (patch)
tree4c92feeaaddcf50012bf885a1ca7d46b8fec041a /src/mongo/db/clientcursor.cpp
parent5fed2241cb67c358f77fd0ff20b2afbcefa55ec1 (diff)
downloadmongo-12f16f882a8defa3c1adf497a2333efba8934e69.tar.gz
SERVER-16920 Better error messages for ops killed during yield
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r--src/mongo/db/clientcursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp
index b26fe10a583..3a0af5d615f 100644
--- a/src/mongo/db/clientcursor.cpp
+++ b/src/mongo/db/clientcursor.cpp
@@ -160,7 +160,7 @@ namespace mongo {
void ClientCursor::kill() {
if ( _exec.get() )
- _exec->kill();
+ _exec->kill("cursor killed");
_cursorManager = NULL;
}