Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jauhararifin committed Aug 5, 2024
1 parent 7fed06f commit 9b7987c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/pager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -986,14 +986,6 @@ impl Pager {
struct PageMeta {
id: PageId,
kind: PageKind,

// TODO: maybe we don't need to `is_mutated` field. We can
// infer it from the `rec_lsn` and `page_lsn` fields. If
// they are None, then it's a clean page, otherwise it's
// a dirty page.
// is_mutated: bool,
// rec_lsn: Option<Lsn>,
// page_lsn: Option<Lsn>,
wal: Option<PageWalInfo>,
}

Expand Down

0 comments on commit 9b7987c

Please sign in to comment.