Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Xu <[email protected]>
  • Loading branch information
Qi Xu committed Mar 22, 2024
1 parent 027b6d2 commit e5ba415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/wal_edit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ Status WalAddition::DecodeFrom(Slice* src) {
if (!GetVarint64(src, &lsn)) {
return Status::Corruption(class_name, "Error decoding WAL file size");
}
metadata_.SetLastSequence(lsn);
metadata_.SetLastSequence(lsn);
break;
}
// TODO: process future tags such as checksum.
case WalAdditionTag::kTerminate:
Expand Down

0 comments on commit e5ba415

Please sign in to comment.