Bug #31147 | Isolation level not working | ||
---|---|---|---|
Submitted: | 22 Sep 2007 14:42 | Modified: | 10 Jan 2008 14:09 |
Reporter: | newbie Shai | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.0.9 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[22 Sep 2007 14:42]
newbie Shai
[23 Sep 2007 5:34]
Valeriy Kravchuk
Thank you for a problem report. I had not checked your entire code, but here: connectionLocal1.BeginTransaction(IsolationLevel.Snapshot); you explicitely begins a transaction that will see all the data as they are when it begins (.Snapshot). Do you read from this connectionLocal1?
[24 Sep 2007 2:31]
newbie Shai
Dear Valeriy, No I have a separate connection for the select because is not part of the transaction that is the reason I am using it separately. For the snapshot I was actually trying all kind of different isolation level. Hope to hear from you. Thanks.
[5 Dec 2007 12:11]
Tonci Grgin
Newbie, are you using transactional engine (like innodb) and what is your server mode? Does it include STRICT_TRANS_TABLES?
[5 Dec 2007 12:45]
Tonci Grgin
Newbie, there is a fundamental error in your test case... You are using NET FW 2 functions (IsolationLevel.Snapshot) with NET FW 1 driver (c/NET 1.x). Please either use c/NET 5.x or NET FW 1 with c/NET 1.x.
[6 Dec 2007 15:39]
newbie Shai
Dear Tonce, I dont get you about STRICT_TRANS_TABLES? What is it all about ? Ok on default what is the read type ? Is snapshot, read committed or which one ? Thanks. Yes I will download the latest .net connector.
[7 Dec 2007 10:20]
Tonci Grgin
Newbie: 1) Please read manual bout SQL modes, especially regarding transactional storage engines. 2) Please note that: a) You can use c/NET 1.x *with* NET FW 1.x and b) You can use c/NET 5.x with NET FW 2.x do not mix them as you do. Waiting on your results after you make match between NET FW and c/NET.
[7 Dec 2007 13:44]
newbie Shai
Dear Tonci, I have tried to searh on the innodb sql mode but I dont find any information on it? Thanks for the rest of the help. I really appreciate it.
[10 Dec 2007 14:09]
Tonci Grgin
Newbie, http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html. Did you match c/NET version with your NET framework version yet?
[11 Jan 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".