We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646ddb2 commit 7abad52Copy full SHA for 7abad52
src/MySqlConnector/MySqlClient/MySqlConnection.cs
@@ -69,7 +69,7 @@ private async Task<MySqlTransaction> BeginDbTransactionAsync(IsolationLevel isol
69
throw new NotSupportedException("IsolationLevel.{0} is not supported.".FormatInvariant(isolationLevel));
70
}
71
72
- using (var cmd = new MySqlCommand("set session transaction isolation level " + isolationLevelValue + "; start transaction;", this))
+ using (var cmd = new MySqlCommand("set transaction isolation level " + isolationLevelValue + "; start transaction;", this))
73
await cmd.ExecuteNonQueryAsync(ioBehavior, cancellationToken).ConfigureAwait(false);
74
75
var transaction = new MySqlTransaction(this, isolationLevel);
0 commit comments