Skip to content

Support MySqlCommandBuilder.DeriveParameters for MySQL Server 5.0 #1126

Open
@dxmi

Description

@dxmi

Is your feature request related to a problem? Please describe.
We need support for legacy MySQL Server 5.0 similar to the level the MySql.Data provides.

Specifically, we use the MySql.Data.MySqlClient.MySqlCommandBuilder.DeriveParameters method to obtain the schema of a stored procedure.
The MySqlConnector.MySqlCommandBuilder.DeriveParameters throws an exception for server versions less than 5.5.3 due to the absence of "information_schema.routines".

Describe the solution you'd like
As I see, some fallback code using "mysql.proc" already exists in the CachedProcedure.FillAsync method. Use this code to derive parameters instead of throwing an exception.

Describe alternatives you've considered
We'd like to avoid re-implementing procedure parameter parsing on our side.

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