Skip to content

ConvertToMySqlDbType for NewDate is not implemented #1007

Description

@dtrickett

Using MySQL 5.7.12 and running into the following when a UNION query contains a date:

  ----> MySqlConnector.MySqlException : Failed to read the result set.
Data:
  Server Error Code: 0
  SqlState: <null>

  ----> System.NotImplementedException : ConvertToMySqlDbType for NewDate is not implemented

Seems this is fixed in MySQL 5.7.22
"Metadata from result sets for UNION ALL queries could say NEWDATE rather than DATE. (Bug #27422376)"

Is this something that can be addressed within the library, or only by updating MySQL? We are attempting to migrate from MySql.Data and this is currently the only blocker.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions