Skip to content

OdbcConnection.ServerVersion may return null but docs says it will throw or return "" instead #44289

Description

@krwq

See docs: https://docs.microsoft.com/en-us/dotnet/api/system.data.odbc.odbcconnection.serverversion?view=dotnet-plat-ext-3.1

but implementation OdbcConnectionOpen.ServerVersion will return null in some cases.

Either docs or implementation should be fixed here.

Found when applying nullable annotations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions