0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::db::database::sst: Add file id integer to info struct.

This commit is contained in:
Jason Volk 2020-10-13 15:28:55 -07:00
parent 08572e750f
commit 560eb12f68
2 changed files with 2 additions and 0 deletions

View file

@ -35,6 +35,7 @@ struct ircd::db::database::sst::info
std::string compression;
std::string checksum;
std::string checksum_func;
uint64_t id {0};
uint64_t format {0};
uint64_t cfid {0};
uint64_t size {0};

View file

@ -3723,6 +3723,7 @@ ircd::db::database::sst::info::operator=(rocksdb::LiveFileMetaData &&md)
ircd::db::database::sst::info &
ircd::db::database::sst::info::operator=(rocksdb::SstFileMetaData &&md)
{
id = std::move(md.file_number);
name = std::move(md.name);
path = std::move(md.db_path);
size = std::move(md.size);