I was using EF 6.1.1 in my projects with mysql connector .net 6.9.5. After updating to EF 6.1.2 some queries generate exceptions of type
System.Data.Entity.Core.EntityCommandExecutionException.
```
{"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM ((SELECT\r\nFROM ((SELECT\r\n`GroupBy1`.`K1` AS `PRODUCTO`, \r\n(CASE WHEN (1 = 1' at line 47"}
```
I don't know if are caused for a problem with mysql connector. But as it failed after EF update i'm here asking.
Queries on wich exceptions are thrown are so large. And i don't know if it is enough to provide only generated SQL queries.
Please, see attached files. One is SQL generated with EF 6.1.1 and the other one with 6.1.2.
Thanks.
__Edit__: This generated queries are the result of some IQueryable<T> methods, if I change to IEnumerable<T> the first method everything goes OK again. And another queries using IEnumerable<T> throws same exeption type but inner exception is:
```
{"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."}
```
Comments: I am going ahead resolving this as duplicate of https://entityframework.codeplex.com/workitem/2651. It can be reactivated if the issue persists after upgrading to 6.1.3 RTM.
System.Data.Entity.Core.EntityCommandExecutionException.
```
{"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM ((SELECT\r\nFROM ((SELECT\r\n`GroupBy1`.`K1` AS `PRODUCTO`, \r\n(CASE WHEN (1 = 1' at line 47"}
```
I don't know if are caused for a problem with mysql connector. But as it failed after EF update i'm here asking.
Queries on wich exceptions are thrown are so large. And i don't know if it is enough to provide only generated SQL queries.
Please, see attached files. One is SQL generated with EF 6.1.1 and the other one with 6.1.2.
Thanks.
__Edit__: This generated queries are the result of some IQueryable<T> methods, if I change to IEnumerable<T> the first method everything goes OK again. And another queries using IEnumerable<T> throws same exeption type but inner exception is:
```
{"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."}
```
Comments: I am going ahead resolving this as duplicate of https://entityframework.codeplex.com/workitem/2651. It can be reactivated if the issue persists after upgrading to 6.1.3 RTM.