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 2cc7fcf commit 7df31e8Copy full SHA for 7df31e8
src/MySqlConnector/MySqlClient/MySqlConnection.cs
@@ -93,8 +93,7 @@ public override void EnlistTransaction(System.Transactions.Transaction transacti
93
private async Task ChangeDatabaseAsync(IOBehavior ioBehavior, string databaseName, CancellationToken cancellationToken)
94
{
95
if (string.IsNullOrWhiteSpace(databaseName))
96
- throw new ArgumentException("Database name is not valid.", nameof(databaseName));
97
-
+ throw new ArgumentException("Database name is not valid.", nameof(databaseName));
98
if (State != ConnectionState.Open)
99
throw new InvalidOperationException("Connection is not open.");
100
0 commit comments