This commit is contained in:
胡玮文 2025-06-17 14:18:48 -07:00 committed by GitHub
commit b98fd81530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,9 @@ inline std::optional<meta::Layout> parseLayout(const argparse::ArgumentParser &p
*chunkSize,
std::move(chains));
} else {
return meta::Layout::newEmpty(flat::ChainTableId(*chainTableId), *chunkSize, *stripeSize);
return meta::Layout::newEmpty(flat::ChainTableId(*chainTableId),
flat::ChainTableVersion(chainTableVersion.value_or(0)),
*chunkSize, *stripeSize);
}
}