summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/queryutiltests.cpp
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2012-03-12 15:51:33 -0400
committerDwight <dwight@10gen.com>2012-03-12 15:51:33 -0400
commitc9297cd368688a4a844fe24a42bedca8fb20c5b7 (patch)
tree1058f57732ad7f83c5f819877f0a65aef8870721 /src/mongo/dbtests/queryutiltests.cpp
parentd474d2b1d285aa8cf36c04eeadbda0687bc1c3fd (diff)
downloadmongo-c9297cd368688a4a844fe24a42bedca8fb20c5b7.tar.gz
SERVER-4328 merge in some test binary things. add some missing cpp files to the test vcxproj file
Diffstat (limited to 'src/mongo/dbtests/queryutiltests.cpp')
-rw-r--r--src/mongo/dbtests/queryutiltests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/queryutiltests.cpp b/src/mongo/dbtests/queryutiltests.cpp
index 8146c0f29cd..365444dffff 100644
--- a/src/mongo/dbtests/queryutiltests.cpp
+++ b/src/mongo/dbtests/queryutiltests.cpp
@@ -1082,7 +1082,7 @@ namespace QueryUtilTests {
class IndexBase {
public:
- IndexBase() : _ctx( ns() ) , indexNum_( 0 ) {
+ IndexBase() : _ctx( ns() ) , indexNum_( 0 ), lk_(ns()) {
string err;
userCreateNS( ns(), BSONObj(), err, false );
}
@@ -1114,7 +1114,7 @@ namespace QueryUtilTests {
}
static DBDirectClient client_;
private:
- dblock lk_;
+ Lock::DBWrite lk_;
Client::Context _ctx;
int indexNum_;
};