Skip to content

Commit

Permalink
fix(skymp5-server): make MigrationDatabase::Upsert return 0 if termin…
Browse files Browse the repository at this point in the history
…ate does nothing (#1930)
  • Loading branch information
Pospelove authored Apr 21, 2024
1 parent ededc73 commit a5354a7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ size_t MigrationDatabase::Upsert(const std::vector<MpChangeForm>& changeForms)
{
spdlog::error("MigrationDatabase::Upsert - should never be reached");
pImpl->terminate();
return 0;
}

void MigrationDatabase::Iterate(const IterateCallback& iterateCallback)
Expand Down

0 comments on commit a5354a7

Please sign in to comment.