Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C#: Change extractor to accept multiple binlog files #17955

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

tamasvajk
Copy link
Contributor

This pull request enhances the C# extractor to support multiple binary log files for analysis.

The improvement was requested in #16346 (comment).

@tamasvajk tamasvajk marked this pull request as ready for review November 11, 2024 12:23
@tamasvajk tamasvajk requested a review from a team as a code owner November 11, 2024 12:23
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

{
case ExitCode.Ok:
case ExitCode.Errors:
allFailed &= false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not simply allFailed = false?

break;
}
}
return allFailed ? ExitCode.Failed : ExitCode.Ok;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the motivation for returning ExitCode.Failed only when all analyses failed instead of just a single failure?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember any longer why I opted for this originally.

@tamasvajk tamasvajk merged commit ba26281 into github:main Nov 12, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants