diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 11:00:30 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 12:58:52 -0400 |
commit | 8a4b1033064057929f8bf69b0220f1aa3a82ce88 (patch) | |
tree | 3cfc67e049d0f66aad8082a321bee3a4916bf5c4 /src/mongo/db/db.h | |
parent | 2bd824ce85427664a68913df01cb8ea2c6bdf93a (diff) | |
download | mongo-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.h | 4 |
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() { |