Skip to content

Commit

Permalink
automatic style fixes + rewrite deprecated lambda capture
Browse files Browse the repository at this point in the history
  • Loading branch information
jepett0 committed Oct 10, 2024
1 parent 0d12e54 commit c92a1d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ydb/core/tx/schemeshard/schemeshard__table_stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ bool TTxStoreTableStats::PersistSingleStats(const TPathId& pathId,
const TPartitionStats newStats = PrepareStats(ctx, rec, channelsMapping);

LOG_INFO_S(ctx, NKikimrServices::FLAT_TX_SCHEMESHARD,
"Add stats from shard with datashardId(TabletID)=" << datashardId
"Add stats from shard with datashardId(TabletID)=" << datashardId
<< ", pathId " << pathId.LocalPathId
<< ": RowCount " << newStats.RowCount
<< ": RowCount " << newStats.RowCount
<< ", DataSize " << newStats.DataSize
<< (newStats.HasBorrowedData ? ", with borrowed parts" : ""));

Expand Down
2 changes: 1 addition & 1 deletion ydb/core/tx/schemeshard/ut_helpers/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ namespace NSchemeShardUT_Private {
Runtime.SendToPipe(shardData.ShardId, sender, proposal);
TAutoPtr<IEventHandle> handle;
auto event = Runtime.GrabEdgeEventIf<TEvDataShard::TEvProposeTransactionResult>(handle,
[=](const TEvDataShard::TEvProposeTransactionResult& event) {
[this, shardData](const TEvDataShard::TEvProposeTransactionResult& event) {
return event.GetTxId() == TxId && event.GetOrigin() == shardData.ShardId;
});
activeZone = true;
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/tx/schemeshard/ut_index/ut_async_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,5 +574,5 @@ Y_UNIT_TEST_SUITE(TAsyncIndexTests) {
NLs::IndexState(NKikimrSchemeOp::EIndexStateReady),
NLs::IndexKeys({"indexed"}),
});
}
}
}

0 comments on commit c92a1d7

Please sign in to comment.