Skip to content

Bug Fix: SQL Profiling Network Time #686

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dazbradbury
Copy link

@dazbradbury dazbradbury commented Mar 25, 2025

This fixes: #671

In our configuration data.Result is never a RelationalDataReader, but is always of type SqlDataReader (System.Data.Common.DbDataReader). This fixes the conditional so the profiling is logged correctly for both types of data reader.

Before:

image

After:

image

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQL Profiling: Network Time not assigned to SQL cost/time
1 participant