diff --git a/Snowflake.Data/Core/SFMultiStatementsResultSet.cs b/Snowflake.Data/Core/SFMultiStatementsResultSet.cs index 18eb4f650..5a514ccfb 100644 --- a/Snowflake.Data/Core/SFMultiStatementsResultSet.cs +++ b/Snowflake.Data/Core/SFMultiStatementsResultSet.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2022 Snowflake Computing Inc. All rights reserved. */ @@ -72,7 +72,7 @@ internal override async Task NextResultAsync(CancellationToken cancellatio } updateResultMetadata(); - return await Task.FromResult(curResultSet != null); + return curResultSet != null; } internal override bool NextResult() diff --git a/Snowflake.Data/Core/SFResultSet.cs b/Snowflake.Data/Core/SFResultSet.cs index e81db8c14..5783ab217 100755 --- a/Snowflake.Data/Core/SFResultSet.cs +++ b/Snowflake.Data/Core/SFResultSet.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved. */ @@ -157,9 +157,9 @@ internal override bool NextResult() return false; } - internal override async Task NextResultAsync(CancellationToken cancellationToken) + internal override Task NextResultAsync(CancellationToken cancellationToken) { - return await Task.FromResult(false); + return Task.FromResult(false); } internal override bool HasRows()