diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-04-29 20:32:52 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-04-29 20:32:52 -0400 |
commit | 4147810106a47aedcea32fccc5e7ae4891bae43f (patch) | |
tree | ba6be75ed81eacb8b642124dbf43eef0ff01ac6b | |
parent | 226b6f8ad6deac7ce67e19642911d59274083566 (diff) | |
download | mongo-4147810106a47aedcea32fccc5e7ae4891bae43f.tar.gz |
cursors are weird
-rw-r--r-- | s/d_logic.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/s/d_logic.cpp b/s/d_logic.cpp index c6188c07bcc..20016f6a8c6 100644 --- a/s/d_logic.cpp +++ b/s/d_logic.cpp @@ -500,7 +500,10 @@ namespace mongo { } int op = m.data->operation(); - if ( op < 2000 || op >= 3000 ) + if ( op < 2000 + || op >= 3000 + || op == dbGetMore // cursors are weird + ) return false; |