0
0
Fork 0
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:
Jason Volk 2018-11-30 15:07:51 -08:00
parent 17817db656
commit c451571108

View file

@ -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))