Skip to content

Commit f207b69

Browse files
committed
fix + edit CHANGELOG.md
1 parent 18060cd commit f207b69

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Ydb.Sdk/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- ADO.NET: Added `BulkUpsertAsync` for batch upsert operations with transaction checks and integration tests.
12
- Optimization: On BadSession, do not invoke the `DeleteSession()` method.
23
- Canceling AttachStream after calling the `DeleteSession` method.
34
- Fixed bug: fixed issue where session was not deleted (`ClientTransportTimeout`).

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests/YdbConnectionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ PRIMARY KEY (Id)
460460
await dropCmd.ExecuteNonQueryAsync();
461461
}
462462
}
463-
463+
464464
[Fact]
465465
public async Task BulkUpsert_Throws_WhenTransactionIsOpen()
466466
{
@@ -500,7 +500,7 @@ PRIMARY KEY (Id)
500500

501501
Assert.Contains("BulkUpsert cannot be used inside an active transaction", ex.Message);
502502

503-
await conn.CurrentTransaction.RollbackAsync();
503+
await conn.CurrentTransaction?.RollbackAsync()!;
504504

505505
await using (var dropCmd = conn.CreateCommand())
506506
{

0 commit comments

Comments
 (0)