From e5ba41556636b6f28d488f9c60a97863f6f74031 Mon Sep 17 00:00:00 2001 From: Qi Xu Date: Thu, 21 Mar 2024 23:39:07 -0700 Subject: [PATCH] fix compile Signed-off-by: Qi Xu --- db/wal_edit.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/wal_edit.cc b/db/wal_edit.cc index 4435636dd13..fb7018dd098 100644 --- a/db/wal_edit.cc +++ b/db/wal_edit.cc @@ -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: