mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Change ColumnFamilyData from struct to class
Summary: ColumnFamilyData grew a lot, there's much more data that it holds now. It makes more sense to encapsulate it better by making it a class. Test Plan: make check Reviewers: dhruba, haobo, kailiu, sdong CC: leveldb Differential Revision: https://reviews.facebook.net/D15579
This commit is contained in:
@@ -1028,7 +1028,7 @@ Status ReduceDBLevelsCommand::GetOldNumOfLevels(Options& opt,
|
||||
int max = -1;
|
||||
auto default_cfd = versions.GetColumnFamilySet()->GetDefault();
|
||||
for (int i = 0; i < versions.NumberLevels(); i++) {
|
||||
if (default_cfd->current->NumLevelFiles(i)) {
|
||||
if (default_cfd->current()->NumLevelFiles(i)) {
|
||||
max = i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user