fix: check errors

This commit is contained in:
Lei, HUANG
2023-03-14 10:51:16 +08:00
parent c3bcb1111f
commit 9b4dcba8cf

View File

@@ -376,6 +376,7 @@ impl WriterInner {
let version = version_control.current();
let region_id = writer_ctx.shared.id;
// table with id less than MIN_USER_TABLE_ID is system table
if (region_id >> 32) < 1024 {
let wal_header = WalHeader::with_last_manifest_version(version.manifest_version());