Skip to content

Commit

Permalink
Update src/storage/redis_metadata.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Twice <[email protected]>
  • Loading branch information
jjz921024 and PragmaTwice authored Jul 17, 2024
1 parent e779372 commit f8e7e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/redis_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ bool Metadata::IsEmptyableType() const {

bool Metadata::Expired() const { return ExpireAt(util::GetTimeStampMS()); }

bool HashMetadata::IsTTLFieldEncoded() const { return field_encoding == HashFieldEncoding::WITH_TTL; }
bool HashMetadata::IsFieldExpirationEnabled() const { return field_encoding == HashFieldEncoding::WITH_TTL; }

void HashMetadata::Encode(std::string *dst) const {
Metadata::Encode(dst);
Expand Down

0 comments on commit f8e7e20

Please sign in to comment.