diff --git a/MySQLConnector/Transaction.cs b/MySQLConnector/Transaction.cs index 0fe0c45..6d4f933 100644 --- a/MySQLConnector/Transaction.cs +++ b/MySQLConnector/Transaction.cs @@ -19,7 +19,8 @@ namespace FLocal.MySQLConnector { public Transaction(Connection connection, System.Data.IsolationLevel iso) : base() { this.sqlconnection = connection.createConnection(); try { - this.sqltransaction = this.sqlconnection.BeginTransaction(iso); + //for some reason, call to BeginTransaction with IsolationLevel set fails somewhere deep in mysql library + this.sqltransaction = this.sqlconnection.BeginTransaction(); } catch(Exception e) { this.close(); throw e;