diff options
| author | Daniil Cherednik <[email protected]> | 2024-01-05 15:07:17 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-05 15:07:17 +0100 |
| commit | fdcdd6f9ccd22aab3810a67caa3ac346b8847740 (patch) | |
| tree | 7e6f02f0ec068eb802c67da32e160a4b2bc43abc | |
| parent | 71e39db7b736ae11f8f3f90dab42ad8ef8b434e8 (diff) | |
Workaround capture structured binding issue for clang14 (#851)
| -rw-r--r-- | ydb/core/tx/columnshard/columnshard.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ydb/core/tx/columnshard/columnshard.cpp b/ydb/core/tx/columnshard/columnshard.cpp index 8662548284f..095db941991 100644 --- a/ydb/core/tx/columnshard/columnshard.cpp +++ b/ydb/core/tx/columnshard/columnshard.cpp @@ -376,7 +376,11 @@ void TColumnShard::FillColumnTableStats(const TActorContext& ctx, std::unique_pt FillTxTableStats(tableStats); ConfigureStats(*columnStats, tableStats); - LOG_S_TRACE("Add stats for table, tableLocalID=" << tableLocalID); + { + // Workaround "reference to local binding declared in enclousing function" issue for clang14 + ui64 id = tableLocalID; + LOG_S_TRACE("Add stats for table, tableLocalID=" << id); + } } } |
