Closed
Description
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.