Skip to content

Commit

Permalink
Merge pull request #70 Pass logger to TxControl.ToProto from LipatovA…
Browse files Browse the repository at this point in the history
…lexander/main

fix: Pass logger to TxControl.ToProto
  • Loading branch information
rekby committed Apr 23, 2024
2 parents a5c7245 + 8d1257c commit 4262859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Ydb.Sdk/src/Services/Table/ExecuteDataQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task<ExecuteDataQueryResponse> ExecuteDataQuery(
{
OperationParams = MakeOperationParams(settings),
SessionId = Id,
TxControl = txControl.ToProto(),
TxControl = txControl.ToProto(Logger),
Query = new Ydb.Table.Query
{
YqlText = query
Expand Down
2 changes: 1 addition & 1 deletion src/Ydb.Sdk/src/Services/Table/Transaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public TxControl Commit()
return this;
}

internal TransactionControl ToProto(ILogger? logger = null)
internal TransactionControl ToProto(ILogger logger)
{
if (_txNum != null)
{
Expand Down

0 comments on commit 4262859

Please sign in to comment.