MySqlConnector
MySqlConnector copied to clipboard
EnlistTransaction(null) should unenlist
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.
There may actually be substantially more work required here to fix race conditions as demonstrated in https://github.com/npgsql/npgsql/pull/1610.