Bug #86263 | Wrong Isolation Level for Begin Transaction | ||
---|---|---|---|
Submitted: | 10 May 2017 8:10 | Modified: | 27 Mar 2020 20:54 |
Reporter: | ZOKIAD ZOKIAD | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 6.9.9 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | isolation level begintransaction |
[10 May 2017 8:10]
ZOKIAD ZOKIAD
[10 May 2017 10:06]
Chiranjeevi Battula
Hello ZOKIAD, Thank you for the bug report and test case. Verified this behavior on Visual Studio 2013 (C#.Net) and Connector/NET 6.9.9 version. Thanks, Chiranjeevi.
[26 Mar 2020 20:02]
Gustavo Cuatepotzo
Posted by developer: The Transaction Characteristic Scope was fixed as SESSION, this was causing after execute some transactions, the isolation level could be different than the initial state. The "SESSION" keyword is now removed when the isolation level is set. as per documentation: (https://dev.mysql.com/doc/refman/8.0/en/set-transaction.html) "Without any SESSION or GLOBAL keyword: The statement applies only to the next single transaction performed within the session. Subsequent transactions revert to using the session value of the named characteristics."
[27 Mar 2020 20:54]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/NET 8.0.21 release, and here's the proposed changelog entry from the documentation team: The isolation level set for a transaction did not revert to using the session value after the transaction finished. Thank you for the bug report.