Skip to content

Commit

Permalink
update prefix extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
msotheeswaran-sc committed Oct 5, 2023
1 parent 5249668 commit 4a3125b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/rocksdbfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ RocksDBStorageFactory::RocksDBStorageFactory(const char *dbfile, int dbnum, cons
rocksdb::DB *db = nullptr;

auto options = RocksDbOptions();
options.prefix_extractor.reset(rocksdb::NewFixedPrefixTransform(2));
options.prefix_extractor.reset(rocksdb::NewFixedPrefixTransform(sizeof(unsigned int)));

for (int idb = 0; idb < dbnum; ++idb)
{
Expand Down

0 comments on commit 4a3125b

Please sign in to comment.