mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::db: Fix finding supported compression error.
This commit is contained in:
parent
17817db656
commit
c451571108
1 changed files with 3 additions and 0 deletions
|
@ -10320,6 +10320,9 @@ ircd::db::find_supported_compression(const std::string &list)
|
|||
tokens(list, ';', [&ret]
|
||||
(const string_view &name)
|
||||
{
|
||||
if(ret != rocksdb::kNoCompression)
|
||||
return;
|
||||
|
||||
for(size_t i(0); i < db::compressions.size(); ++i)
|
||||
if(!db::compressions.at(i).empty())
|
||||
if(name == db::compressions.at(i))
|
||||
|
|
Loading…
Reference in a new issue