summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-03-26 11:00:30 -0400
committerEliot Horowitz <eliot@10gen.com>2012-03-26 12:58:52 -0400
commit8a4b1033064057929f8bf69b0220f1aa3a82ce88 (patch)
tree3cfc67e049d0f66aad8082a321bee3a4916bf5c4 /src/mongo/db/db.h
parent2bd824ce85427664a68913df01cb8ea2c6bdf93a (diff)
downloadmongo-8a4b1033064057929f8bf69b0220f1aa3a82ce88.tar.gz
SERVER-1259 removing some of the verify calls with error messages before replacing all assert with verify
Diffstat (limited to 'src/mongo/db/db.h')
-rw-r--r--src/mongo/db/db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/db.h b/src/mongo/db/db.h
index 7fa1b521634..94841024194 100644
--- a/src/mongo/db/db.h
+++ b/src/mongo/db/db.h
@@ -44,7 +44,7 @@ namespace mongo {
_context->unlocked();
}
tr.reset(new Lock::TempRelease);
- verify( 14814 , c.curop() );
+ assert( c.curop() );
c.curop()->yielded();
}
~dbtemprelease() {
@@ -71,7 +71,7 @@ namespace mongo {
if ( _context )
_context->unlocked();
tr.reset(new Lock::TempRelease);
- verify( 14845 , c.curop() );
+ assert( c.curop() );
c.curop()->yielded();
}
~dbtempreleasewritelock() {