mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::db::database::sst: Add file id integer to info struct.
This commit is contained in:
parent
08572e750f
commit
560eb12f68
2 changed files with 2 additions and 0 deletions
|
@ -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};
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue