MySqlConnector icon indicating copy to clipboard operation
MySqlConnector copied to clipboard

EnlistTransaction(null) should unenlist

Open bgrainger opened this issue 4 years ago • 1 comments

From https://github.com/npgsql/npgsql/issues/1580

EnlistTransaction(null) should throw InvalidOperationException if the current transaction is still active, but should unenlist the connection from the transaction if the transaction has completed.

bgrainger avatar Dec 09 '19 16:12 bgrainger

There may actually be substantially more work required here to fix race conditions as demonstrated in https://github.com/npgsql/npgsql/pull/1610.

bgrainger avatar Feb 08 '20 17:02 bgrainger