Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu committed Jun 30, 2023
1 parent dddea7a commit 0232dea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dbms/src/Storages/Page/V3/PageDirectory.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ class MultiVersionRefCount
versioned_ref_counts->emplace_back(ver, ref_count);
}
}
else
{
versioned_ref_counts = nullptr;
}
}

void restoreFrom(const PageVersion & ver, Int64 ref_count)
Expand Down

0 comments on commit 0232dea

Please sign in to comment.