diff --git a/db/internal_stats.cc b/db/internal_stats.cc index ef0c58ff8..839e3d61d 100644 --- a/db/internal_stats.cc +++ b/db/internal_stats.cc @@ -94,7 +94,9 @@ DBPropertyType GetPropertyType(const Slice& property, bool* is_int_property, Slice prefix("rocksdb."); *need_out_of_mutex = false; *is_int_property = false; - if (!in.starts_with(prefix)) return kUnknown; + if (!in.starts_with(prefix)) { + return kUnknown; + } in.remove_prefix(prefix.size()); if (in.starts_with("num-files-at-level")) {