Skip to content

Commit

Permalink
Fix potential use after move bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anand1976 committed Sep 13, 2024
1 parent 08ea36d commit acbc01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/meta_blocks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ Status ReadTablePropertiesHelper(
assert(table_properties);

Status s;
BlockContents block_contents;
bool retry = false;
while (true) {
BlockContents block_contents;
size_t len = handle.size() + footer.GetBlockTrailerSize();
// If this is an external SST file ingested with write_global_seqno set to
// true, then we expect the checksum mismatch because checksum was written
Expand Down

0 comments on commit acbc01f

Please sign in to comment.