0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 10:42:47 +01:00

ircd::db: Preliminary compression string-options after space in descriptor value.

This commit is contained in:
Jason Volk 2020-10-01 19:09:30 -07:00
parent eb2facbfd2
commit 6d8a4ab5d6

View file

@ -2158,7 +2158,12 @@ ircd::db::database::column::column(database &d,
#endif #endif
// Compression // Compression
this->options.compression = find_supported_compression(this->descriptor->compression); const auto &[_compression_algos, _compression_opts]
{
split(this->descriptor->compression, ' ')
};
this->options.compression = find_supported_compression(_compression_algos);
//this->options.compression = rocksdb::kNoCompression; //this->options.compression = rocksdb::kNoCompression;
// Compression options // Compression options