diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-02-18 21:57:01 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-02-18 23:11:00 -0500 |
commit | 6718e33f5ecd0de4a8550afaf789c2fc416b6eee (patch) | |
tree | 64385a447c8792b16f6c190dd629afebd1ff0f4b /src/mongo/dbtests/counttests.cpp | |
parent | 9a9baaaf78677b939b8267d6e9266ec88c345b6b (diff) | |
download | mongo-6718e33f5ecd0de4a8550afaf789c2fc416b6eee.tar.gz |
SERVER:8412: re-write repairDatabase to use new constructs
to make clean, also fix Database::createColection
Diffstat (limited to 'src/mongo/dbtests/counttests.cpp')
-rw-r--r-- | src/mongo/dbtests/counttests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/counttests.cpp b/src/mongo/dbtests/counttests.cpp index 01e0fde9cee..e8881b8a972 100644 --- a/src/mongo/dbtests/counttests.cpp +++ b/src/mongo/dbtests/counttests.cpp @@ -51,7 +51,7 @@ namespace CountTests { if ( _collection ) { _database->dropCollection( ns() ); } - _collection = _database->createCollection( ns(), false, NULL, true ); + _collection = _database->createCollection( ns() ); addIndex( fromjson( "{\"a\":1}" ) ); } |