summaryrefslogtreecommitdiff
path: root/db/dbhelpers.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-02-25 15:59:01 -0500
committerAaron <aaron@10gen.com>2009-02-25 15:59:01 -0500
commit181a20030966a1c0e21d816a1a3e7d65e1b11b6f (patch)
tree3a6747cd320c7567a7e9057aa3834493c72abb4f /db/dbhelpers.cpp
parentbcb1b24bd6b544c4dc0cfee8ab4a4274b7a56a62 (diff)
downloadmongo-181a20030966a1c0e21d816a1a3e7d65e1b11b6f.tar.gz
findOne fix
Diffstat (limited to 'db/dbhelpers.cpp')
-rw-r--r--db/dbhelpers.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/db/dbhelpers.cpp b/db/dbhelpers.cpp
index c856b9eab15..09ecabe96bd 100644
--- a/db/dbhelpers.cpp
+++ b/db/dbhelpers.cpp
@@ -92,7 +92,6 @@ namespace mongo {
QueryPlanSet s( ns, query, emptyObj );
FindOne original( requireIndex );
shared_ptr< FindOne > res = s.runOp( original );
- massert( res->exceptionMessage(), res->complete() );
if ( res->one().isEmpty() )
return false;
result = res->one();