Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JaySon-Huang committed May 18, 2022
1 parent f7c8d8a commit 4ed52a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/Storages/Page/V2/PageFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ bool PageFile::LinkingMetaAdapter::linkToNewSequenceNext(WriteBatch::SequenceID

if (binary_version == PageFormat::V2)
{
const UInt64 num_fields = PageUtil::get<UInt64>(pos);
const auto num_fields = PageUtil::get<UInt64>(pos);
entry.field_offsets.reserve(num_fields);
for (size_t i = 0; i < num_fields; ++i)
{
Expand Down Expand Up @@ -649,7 +649,7 @@ void PageFile::MetaMergingReader::moveNext(PageFormat::Version * v)

if (binary_version == PageFormat::V2)
{
const UInt64 num_fields = PageUtil::get<UInt64>(pos);
const auto num_fields = PageUtil::get<UInt64>(pos);
entry.field_offsets.reserve(num_fields);
for (size_t i = 0; i < num_fields; ++i)
{
Expand Down

0 comments on commit 4ed52a9

Please sign in to comment.