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 2df6700 commit 324941aCopy full SHA for 324941a
src/MySqlConnector/MySql.Data.MySqlClient/MySqlBulkCopy.cs
@@ -55,7 +55,7 @@ public void WriteToServer(DataTable dataTable)
55
public async Task WriteToServerAsync(DataTable dataTable, CancellationToken cancellationToken = default)
56
{
57
m_valuesEnumerator = DataRowsValuesEnumerator.Create(dataTable ?? throw new ArgumentNullException(nameof(dataTable)));
58
- await WriteToServerAsync(IOBehavior.Asynchronous, CancellationToken.None).ConfigureAwait(false);
+ await WriteToServerAsync(IOBehavior.Asynchronous, cancellationToken).ConfigureAwait(false);
59
}
60
#else
61
public async ValueTask WriteToServerAsync(DataTable dataTable, CancellationToken cancellationToken = default)
0 commit comments