Skip to content

Commit

Permalink
[squash me] format
Browse files Browse the repository at this point in the history
  • Loading branch information
RiversJin committed Jan 18, 2025
1 parent fb6fcbd commit 61a95fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/storage/redis_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ std::string ComposeSlotKeyPrefix(const Slice &ns, int slotid) {
return output;
}

std::string ComposeSlotKeyUpperBound(const Slice &ns, int slotid) {
return ComposeSlotKeyPrefix(ns, slotid + 1);
}
std::string ComposeSlotKeyUpperBound(const Slice &ns, int slotid) { return ComposeSlotKeyPrefix(ns, slotid + 1); }

Metadata::Metadata(RedisType type, bool generate_version, bool use_64bit_common_field)
: flags((use_64bit_common_field ? METADATA_64BIT_ENCODING_MASK : 0) | (METADATA_TYPE_MASK & type)),
Expand Down

0 comments on commit 61a95fe

Please sign in to comment.