-
Notifications
You must be signed in to change notification settings - Fork 292
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
Return empty DataTable from GetSchemaTable. #419
Conversation
Remove unused code from DataReaderTest fixes dotnet#417
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataReaderTest/DataReaderTest.cs
Outdated
Show resolved
Hide resolved
@@ -65,7 +64,25 @@ public static void MultiQuerySchema() | |||
} | |||
} | |||
|
|||
[CheckConnStrSetupFact] | |||
public static void GetSchemaTable_returns_null_when_no_resultset() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test name is inversed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another possible note is the returned table should have no rows, but should still have the columns it has when there are rows.
…)" (dotnet#696)" This reverts commit a0dcabe.
Remove unused code from DataReaderTest
fixes #417