Skip to content

Commit 3fd468f

Browse files
committed
Fix parameter.
1 parent 45675f4 commit 3fd468f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ private async Task ChangeDatabaseImpl(string db, AsyncWrappingCommonArgs async)
428428
}
429429

430430
public override void Open() => OpenImpl(new AsyncWrappingCommonArgs(false)).GetAwaiter().GetResult();
431-
public override Task OpenAsync(CancellationToken cancellationToken) => OpenImpl(new AsyncWrappingCommonArgs(false, cancellationToken));
431+
public override Task OpenAsync(CancellationToken cancellationToken) => OpenImpl(new AsyncWrappingCommonArgs(true, cancellationToken));
432432
internal async Task OpenImpl(AsyncWrappingCommonArgs async)
433433
{
434434
if (string.IsNullOrEmpty(_connectionString))

Provider/src/FirebirdSql.Data.FirebirdClient/Services/FbServerProperties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private async Task<FbDatabasesInfo> GetDatabasesInfoImpl(AsyncWrappingCommonArgs
8181
}
8282

8383
public FbServerConfig GetServerConfig() => GetServerConfigImpl(new AsyncWrappingCommonArgs(false)).GetAwaiter().GetResult();
84-
public Task<FbServerConfig> GetServerConfigAsync(CancellationToken cancellationToken = default) => GetServerConfigImpl(new AsyncWrappingCommonArgs(false, cancellationToken));
84+
public Task<FbServerConfig> GetServerConfigAsync(CancellationToken cancellationToken = default) => GetServerConfigImpl(new AsyncWrappingCommonArgs(true, cancellationToken));
8585
private async Task<FbServerConfig> GetServerConfigImpl(AsyncWrappingCommonArgs async)
8686
{
8787
return (FbServerConfig)(await GetInfo(IscCodes.isc_info_svc_get_config, async).ConfigureAwait(false)).FirstOrDefault() ?? new FbServerConfig();

0 commit comments

Comments
 (0)