-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
when I use in .NET (ef) variable 'tx_isolation' does not yet support value: SERIALIZABLE #8793
Comments
how I can resolve this ? |
@564064202 Please fill the issue template. Do not delete them. |
@lamxTyler finished |
@564064202 TiDB only supports Repeatable Read isolation level. You can change the isolation level configuration in the frame work. |
how I can do in .NET ? |
@564064202 Please consult the .Net's document. |
no,we can't set any thing on entity framework (code first) |
I also met this issue in jdbc mysql connector. #8625 brought this change. Some frameworks often send query like "SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE". Printing a warning message would be better in my opinion. @564064202 Regarding your case, you may change to release 2.0 which does not contain this change. |
/cc @shenli What do you think? Simply banned query like |
@564064202 you can solve this by using the latest master. For more details, please refer to #10065. Closing. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
use .NET (entity framework) code first.
What did you expect to see?
just like mysql
What did you see instead?
variable 'tx_isolation' does not yet support value: SERIALIZABLE
What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?docker lastest version
MySql.Data.MySqlClient.MySqlException (0x80004005): variable 'tx_isolation' does not yet support value: SERIALIZABLE
在 MySql.Data.MySqlClient.MySqlStream.ReadPacket()
在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
在 MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
The text was updated successfully, but these errors were encountered: