Skip to content

Commit a7987ab

Browse files
committed
Fix bug preventing asynchronous creation of "Foreign Keys" schema.
This fixes an error introduced in #1419.
1 parent aee6fdf commit a7987ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MySqlConnector/Core/SchemaProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ private async Task FillDataTableAsync(IOBehavior ioBehavior, DataTable dataTable
441441
}
442442

443443
private Task DoFillForeignKeysAsync(IOBehavior ioBehavior, DataTable dataTable, string?[]? restrictionValues, CancellationToken cancellationToken) =>
444-
FillDataTableAsync(IOBehavior.Synchronous, dataTable, command =>
444+
FillDataTableAsync(ioBehavior, dataTable, command =>
445445
{
446446
command.CommandText = """
447447
SELECT rc.constraint_catalog, rc.constraint_schema, rc.constraint_name,

0 commit comments

Comments
 (0)