[Mono-bugs] [Bug 325397] Transaction.Commit occures in Transaction.Dispose

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 16 14:06:26 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=325397#c3


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be




--- Comment #3 from Gert Driesen <gert.driesen at pandora.be>  2007-10-16 12:06:25 MST ---
I've attached a "repro" that does exactly what submitter described, but then
using the SQL Server connector. 

This worked fine, so I assumed the issue was specific to the connector used.

However, I then saw we were invoking Rollback in DbTransaction.Dispose. Perhaps
MS is not invoking rollback there, but leaves it up to the deriving class to do
this (if it wants to) in the override Dispose method?

As always MSDN provides no help, so I'll add a unit test to verify this.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list