Added `CheckBadConn` on the `Begin` method of a transaction. As the transaction hasn't started yet it, and we check to see if it is already in a transaction, and that the error is either a timeout or a non-temporary network error, we should be safe to return `driver.ErrBadConn` at this point
Added `CheckBadConn` on the `Begin` method of a transaction.
As the transaction hasn't started yet it, and we check to see if it is already in a transaction, and that the error is either a timeout or a non-temporary network error, we should be safe to return `driver.ErrBadConn` at this point

justinyaoqi/go-mssqldb,ArtemTeleshev/go-mssqldb,colonyamerican/go-mssqldb,courtf/go-mssqldb,gaspardle/go-mssqldb,ajcrowe/go-mssqldb,bhcleek/go-mssqldb,NicheInc/go-mssqldb,denisenkom/go-mssqldb,sndnvaps/go-mssqldb,XTXMarkets/go-mssqldb