Skip to content

Commit

Permalink
Add missing status check in RecoverLogFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykorean committed Mar 19, 2024
1 parent b4e9f5a commit daa1f36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/db_impl/db_impl_secondary.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class LogReaderContainer {
s.ToString().c_str());
if (this->status != nullptr && this->status->ok()) {
*this->status = s;
} else {
s.PermitUncheckedError();
}
}
};
Expand Down

0 comments on commit daa1f36

Please sign in to comment.