diff options
author | Aaron <aaron@10gen.com> | 2009-02-25 15:59:01 -0500 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-02-25 15:59:01 -0500 |
commit | 181a20030966a1c0e21d816a1a3e7d65e1b11b6f (patch) | |
tree | 3a6747cd320c7567a7e9057aa3834493c72abb4f /db/dbhelpers.cpp | |
parent | bcb1b24bd6b544c4dc0cfee8ab4a4274b7a56a62 (diff) | |
download | mongo-181a20030966a1c0e21d816a1a3e7d65e1b11b6f.tar.gz |
findOne fix
Diffstat (limited to 'db/dbhelpers.cpp')
-rw-r--r-- | db/dbhelpers.cpp | 1 |
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(); |