diff --git a/ent/encryption/encryption.cc b/ent/encryption/encryption.cc index c295473880..07f2db63fa 100644 --- a/ent/encryption/encryption.cc +++ b/ent/encryption/encryption.cc @@ -660,7 +660,7 @@ public: sstables::component_type::Statistics, sstables::component_type::TemporaryStatistics, }) { - if (mask & int(c)) { + if (mask & (1 << int(c))) { ccs.emplace_back(c); } }