|
|
@ -294,8 +294,8 @@ class DBTest { |
|
|
|
protected: |
|
|
|
protected: |
|
|
|
// Sequence of option configurations to try
|
|
|
|
// Sequence of option configurations to try
|
|
|
|
enum OptionConfig { |
|
|
|
enum OptionConfig { |
|
|
|
kDefault, |
|
|
|
|
|
|
|
kBlockBasedTableWithWholeKeyHashIndex, |
|
|
|
kBlockBasedTableWithWholeKeyHashIndex, |
|
|
|
|
|
|
|
kDefault, |
|
|
|
kBlockBasedTableWithPrefixHashIndex, |
|
|
|
kBlockBasedTableWithPrefixHashIndex, |
|
|
|
kPlainTableFirstBytePrefix, |
|
|
|
kPlainTableFirstBytePrefix, |
|
|
|
kPlainTableAllBytesPrefix, |
|
|
|
kPlainTableAllBytesPrefix, |
|
|
@ -467,7 +467,7 @@ class DBTest { |
|
|
|
options.db_log_dir = test::TmpDir(); |
|
|
|
options.db_log_dir = test::TmpDir(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case kWalDir: |
|
|
|
case kWalDir: |
|
|
|
options.wal_dir = test::TmpDir() + "/wal"; |
|
|
|
options.wal_dir = "/tmp/wal"; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case kManifestFileSize: |
|
|
|
case kManifestFileSize: |
|
|
|
options.max_manifest_file_size = 50; // 50 bytes
|
|
|
|
options.max_manifest_file_size = 50; // 50 bytes
|
|
|
|