Skip to content

Commit

Permalink
fix read_amp_bytes_per_bit field size (#7651)
Browse files Browse the repository at this point in the history
Summary:
The field in BlockBasedTableOptions is 4 bytes:
  // Default: 0 (disabled)
  uint32_t read_amp_bytes_per_bit = 0;

Pull Request resolved: #7651

Reviewed By: ltamasi

Differential Revision: D24844994

Pulled By: riversand963

fbshipit-source-id: e2695e55532256ef8996dd6939cad06987a80293
  • Loading branch information
hliu18 authored and facebook-github-bot committed Nov 10, 2020
1 parent 2026051 commit 16d103d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/block_based/block_based_table_factory.cc
Expand Up @@ -359,7 +359,7 @@ static std::unordered_map<std::string, OptionTypeInfo>
OptionTypeFlags::kNone}},
{"read_amp_bytes_per_bit",
{offsetof(struct BlockBasedTableOptions, read_amp_bytes_per_bit),
OptionType::kSizeT, OptionVerificationType::kNormal,
OptionType::kUInt32T, OptionVerificationType::kNormal,
OptionTypeFlags::kNone}},
{"enable_index_compression",
{offsetof(struct BlockBasedTableOptions, enable_index_compression),
Expand Down

0 comments on commit 16d103d

Please sign in to comment.