summaryrefslogtreecommitdiff
path: root/db_stress_tool/db_stress_gflags.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db_stress_tool/db_stress_gflags.cc')
-rw-r--r--db_stress_tool/db_stress_gflags.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/db_stress_tool/db_stress_gflags.cc b/db_stress_tool/db_stress_gflags.cc
index b68902812..26e8c1ebb 100644
--- a/db_stress_tool/db_stress_gflags.cc
+++ b/db_stress_tool/db_stress_gflags.cc
@@ -493,9 +493,15 @@ DEFINE_bool(
DEFINE_int32(
index_type,
static_cast<int32_t>(
- ROCKSDB_NAMESPACE::BlockBasedTableOptions::kBinarySearch),
+ ROCKSDB_NAMESPACE::BlockBasedTableOptions().index_type),
"Type of block-based table index (see `enum IndexType` in table.h)");
+DEFINE_int32(
+ data_block_index_type,
+ static_cast<int32_t>(
+ ROCKSDB_NAMESPACE::BlockBasedTableOptions().data_block_index_type),
+ "Index type for data blocks (see `enum DataBlockIndexType` in table.h)");
+
DEFINE_string(db, "", "Use the db with the following name.");
DEFINE_string(secondaries_base, "",