Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykorean committed Sep 20, 2024
1 parent 9a726ef commit 764598a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db_impl/db_impl_secondary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ Status DB::OpenAndCompact(
assert(db);

// 6. Find the handle of the Column Family that this will compact
ColumnFamilyHandle* cfh;
ColumnFamilyHandle* cfh = nullptr;
for (auto* handle : handles) {
if (compaction_input.cf_name == handle->GetName()) {
cfh = handle;
Expand Down

0 comments on commit 764598a

Please sign in to comment.