Skip to content

Commit

Permalink
Also change WAL LogNumberType to be UInt64
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <tshent@qq.com>
  • Loading branch information
JaySon-Huang committed May 24, 2022
1 parent 1238875 commit bef082f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Storages/Page/V3/LogFile/LogFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static constexpr UInt32 PAYLOAD_FIELD_SIZE = sizeof(UInt16);
// The checksum count begin at the `type` field in Header/RecyclableHeader
static constexpr size_t CHECKSUM_START_OFFSET = Format::CHECKSUM_FIELD_SIZE + Format::PAYLOAD_FIELD_SIZE;

using LogNumberType = UInt32;
using LogNumberType = UInt64;

// Header is
// - checksum (`CHECKSUM_FIELD_SIZE` bytes
Expand Down

0 comments on commit bef082f

Please sign in to comment.