Change db_stress to work with format_version == 2

This commit is contained in:
Igor Canadi 2015-01-14 16:25:36 -08:00
parent 9ab5adfc59
commit 2bb059007b

View File

@ -1757,6 +1757,7 @@ class StressTest {
block_based_options.block_cache = cache_;
block_based_options.block_cache_compressed = compressed_cache_;
block_based_options.block_size = FLAGS_block_size;
block_based_options.format_version = 2;
block_based_options.filter_policy = filter_policy_;
options_.table_factory.reset(
NewBlockBasedTableFactory(block_based_options));