-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidOperationException
thrown when RelationalDataReader
reads RecordsAffected
#1122
Comments
It appears that That would be broken by this recent change in 2.1.3: 7f74a400 @Executor-Cheng for now I think you will need to downgrade to 2.1.2. CC @lauxjpn It may be advisable to skip MySqlConnector 2.1.3 as a dependency for Pomelo and wait until 2.1.4 is available to fix this issue. |
InvalidOperationException
thrown when RelationalDataReader
reads RecordsAffected
We will release the next version of Pomelo, that will then reference the latest version of MySqlConnector, after the EF Core team has released |
Software versions
MySqlConnector version: 2.1.3
Server type (MySQL, MariaDB, Aurora, etc.) and version: MariaDB 10.5.5
.NET version: 6.0.0
Microsoft.EntityFrameworkCore version: 6.0.0
Pomelo.EntityFrameworkCore.MySql version: 6.0.0
Describe the bug
When the query fetches rows from the database, it will throw
InvalidOperationException
.Exception
Code sample
await DbContext.Set<T>.FirstOrDefaultAsync();
await DbContext.Set<T>.ToArrayAsync();
The text was updated successfully, but these errors were encountered: