Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PragmaTwice committed Mar 23, 2023
1 parent 255f2b8 commit 00afbc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/storage/redis_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,12 @@ rocksdb::Status Database::Dump(const Slice &user_key, std::vector<std::string> *
infos->emplace_back(std::to_string(metadata.version));
infos->emplace_back("expire");
infos->emplace_back(std::to_string(Metadata::ExpireMsToS(metadata.expire)));
infos->emplace_back("pexpire");
infos->emplace_back(std::to_string(metadata.expire));
infos->emplace_back("size");
infos->emplace_back(std::to_string(metadata.size));
infos->emplace_back("is_64bit_common_field");
infos->emplace_back(std::to_string(metadata.Is64BitEncoded()));

infos->emplace_back("created_at");
struct timeval created_at = metadata.Time();
Expand Down

0 comments on commit 00afbc5

Please sign in to comment.