summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-12-16 13:30:36 -0500
committerEliot Horowitz <eliot@10gen.com>2014-12-16 13:30:57 -0500
commit7917b37c07d67dfb0e4bc8336942526962dceef3 (patch)
tree4879f8955db517df67a134dd8d1f1b296f854ee4 /src/mongo
parentbc64649a70fe366c46ffab601fc378dbc4286e1c (diff)
downloadmongo-7917b37c07d67dfb0e4bc8336942526962dceef3.tar.gz
SERVER-16235: fix DEBUG check on WT capped collection
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp
index ad7f4639658..e96a3db36d3 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp
@@ -555,7 +555,7 @@ namespace mongo {
scoped_ptr<WiredTigerHarnessHelper> harnessHelper( new WiredTigerHarnessHelper() );
scoped_ptr<RecordStore> rs(harnessHelper->newCappedRecordStore("local.oplog.foo",
100000,
- 10000));
+ -1));
{
const WiredTigerRecordStore* wrs = dynamic_cast<WiredTigerRecordStore*>(rs.get());