diff options
Diffstat (limited to 'src/mongo/dbtests/replsettests.cpp')
-rw-r--r-- | src/mongo/dbtests/replsettests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/replsettests.cpp b/src/mongo/dbtests/replsettests.cpp index f334cc2f3b1..e1779e2465d 100644 --- a/src/mongo/dbtests/replsettests.cpp +++ b/src/mongo/dbtests/replsettests.cpp @@ -316,7 +316,7 @@ namespace ReplSetTests { void create() { Client::Context c(_cappedNs); - ASSERT( userCreateNS( _cappedNs, fromjson( spec() ), false ).isOK() ); + ASSERT( userCreateNS( c.db(), _cappedNs, fromjson( spec() ), false ).isOK() ); } void dropCapped() { @@ -359,7 +359,7 @@ namespace ReplSetTests { bool apply(const BSONObj& op) { Client::Context ctx( _cappedNs ); // in an annoying twist of api, returns true on failure - return !applyOperation_inlock(op, true); + return !applyOperation_inlock(ctx.db(), op, true); } void run() { |