From 76dcf7eefd9645f9ece87587d2a016331ae4da73 Mon Sep 17 00:00:00 2001 From: sdong Date: Wed, 6 Aug 2014 17:46:26 -0700 Subject: [PATCH] Minor: fix a format Summary: A format fixing Test Plan: N/A Reviewers: ljin Reviewed By: ljin Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D21255 --- db/internal_stats.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")) {