diff options
author | m-radyshevsky <m-radyshevsky@yandex-team.com> | 2022-12-30 16:02:20 +0300 |
---|---|---|
committer | m-radyshevsky <m-radyshevsky@yandex-team.com> | 2022-12-30 16:02:20 +0300 |
commit | 5de12f5f8442209d2b18e94feb307cf054e5b542 (patch) | |
tree | 1db0e7092444e85585351229373348598de341db | |
parent | 63fcc03c7fc107abfc72ee71955a5878d9846cca (diff) | |
download | ydb-5de12f5f8442209d2b18e94feb307cf054e5b542.tar.gz |
Fix -Wunused-but-set-variable
-rw-r--r-- | ydb/core/kqp/ut/olap/kqp_olap_ut.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp b/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp index b4edb0db146..ac8a9aa509d 100644 --- a/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp +++ b/ydb/core/kqp/ut/olap/kqp_olap_ut.cpp @@ -1536,11 +1536,9 @@ Y_UNIT_TEST_SUITE(KqpOlap) { ui32 numShards = 1; ui32 numIterations = 10; TLocalHelper(*server).CreateTestOlapTable("olapTable", "olapStore", numShards, numShards); - ui32 insertRows = 0; const ui32 iterationPackSize = 2000; for (ui64 i = 0; i < numIterations; ++i) { TLocalHelper(*server).SendDataViaActorSystem("/Root/olapStore/olapTable", 0, 1000000 + i * 1000000, iterationPackSize); - insertRows += iterationPackSize; } TAggregationTestCase currentTest; @@ -2152,10 +2150,8 @@ Y_UNIT_TEST_SUITE(KqpOlap) { const ui32 numShards = 10; const ui32 numIterations = 10; TLocalHelper(*server).CreateTestOlapTable("selectTable", "selectStore", numShards, numShards); - ui32 insertRows = 0; for(ui64 i = 0; i < numIterations; ++i) { TLocalHelper(*server).SendDataViaActorSystem("/Root/selectStore/selectTable", 0, 1000000 + i*1000000, 2000); - insertRows += 2000; } ui64 result = 0; @@ -2307,10 +2303,8 @@ Y_UNIT_TEST_SUITE(KqpOlap) { const ui32 numShards = 10; const ui32 numIterations = 50; TLocalHelper(*server).CreateTestOlapTable("largeOlapTable", "largeOlapStore", numShards, numShards); - ui32 insertRows = 0; for(ui64 i = 0; i < numIterations; ++i) { TLocalHelper(*server).SendDataViaActorSystem("/Root/largeOlapStore/largeOlapTable", 0, 1000000 + i*1000000, 2000); - insertRows += 2000; } bool hasResult = false; |