Skip to content

Commit 11bafe1

Browse files
committed
Fixes
1 parent cb90c1e commit 11bafe1

File tree

12 files changed

+24
-1
lines changed

12 files changed

+24
-1
lines changed

ydb/core/client/server/grpc_server.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#include <ydb/library/grpc/server/grpc_request.h>
77
#include <ydb/library/grpc/server/grpc_counters.h>
88
#include <ydb/library/grpc/server/grpc_async_ctx_base.h>
9+
#include <ydb/core/protos/node_broker.pb.h>
10+
11+
#include <ydb/core/protos/cms.pb.h>
12+
#include <ydb/core/protos/console_base.pb.h>
913

1014
#include <library/cpp/json/json_writer.h>
1115

ydb/core/driver_lib/run/run.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
#include <ydb/core/protos/alloc.pb.h>
5858
#include <ydb/core/protos/http_config.pb.h>
5959
#include <ydb/core/protos/datashard_config.pb.h>
60+
#include <ydb/core/protos/node_broker.pb.h>
61+
#include <ydb/core/protos/bootstrap.pb.h>
62+
#include <ydb/core/protos/stream.pb.h>
63+
#include <ydb/core/protos/cms.pb.h>
6064

6165
#include <ydb/core/mind/local.h>
6266
#include <ydb/core/mind/tenant_pool.h>

ydb/core/kqp/tests/kikimr_tpch/kqp_tpch_ut.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#include <ydb/core/protos/console_config.pb.h>
22
#include <ydb/core/protos/grpc.pb.h>
33
#include <ydb/core/protos/grpc.grpc.pb.h>
4+
#include <ydb/core/protos/config.pb.h>
5+
#include <ydb/core/protos/console_base.pb.h>
6+
#include <ydb/core/protos/table_service_config.pb.h>
7+
#include <ydb/public/api/protos/ydb_status_codes.pb.h>
8+
49
#include <ydb/core/kqp/tests/tpch/lib/tpch_runner.h>
510
#include <ydb/public/lib/yson_value/ydb_yson_value.h>
611

ydb/core/kqp/tests/tpch/cmd_run_bench.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <ydb/public/lib/yson_value/ydb_yson_value.cpp>
1414

1515
#include <ydb/library/grpc/client/grpc_client_low.h>
16+
#include <ydb/core/protos/table_service_config.pb.h>
1617
#include <library/cpp/json/json_writer.h>
1718

1819
#include <util/string/printf.h>

ydb/core/testlib/test_client.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
#include <ydb/core/kqp/proxy_service/kqp_proxy_service.h>
6767
#include <ydb/core/kqp/finalize_script_service/kqp_finalize_script_service.h>
6868
#include <ydb/core/metering/metering.h>
69+
#include <ydb/core/protos/stream.pb.h>
6970
#include <ydb/library/services/services.pb.h>
7071
#include <ydb/core/tablet_flat/tablet_flat_executed.h>
7172
#include <ydb/core/tx/columnshard/columnshard.h>

ydb/core/tx/datashard/datashard_ut_read_iterator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include <ydb/core/tx/data_events/events.h>
1717
#include <ydb/core/tx/data_events/payload_helper.h>
18+
#include <ydb/core/protos/query_stats.pb.h>
1819

1920
#include <ydb/public/sdk/cpp/client/ydb_result/result.h>
2021

ydb/core/tx/datashard/datashard_ut_write.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <ydb/core/tx/datashard/ut_common/datashard_ut_common.h>
44
#include <ydb/core/base/tablet_pipecache.h>
55
#include <ydb/core/testlib/actors/block_events.h>
6+
#include <ydb/core/protos/query_stats.pb.h>
67
#include <ydb/core/tx/long_tx_service/public/lock_handle.h>
78
#include "datashard_ut_common_kqp.h"
89

ydb/core/tx/schemeshard/ut_olap/ut_olap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <ydb/core/tx/columnshard/hooks/testing/controller.h>
55
#include <ydb/core/formats/arrow/arrow_helpers.h>
66
#include <ydb/core/formats/arrow/arrow_batch_builder.h>
7+
#include <ydb/core/protos/table_stats.pb.h>
78

89
using namespace NKikimr::NSchemeShard;
910
using namespace NKikimr;

ydb/public/lib/protobuf/helpers.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ static TString ProtoFileNameStripped(const google::protobuf::Descriptor* message
1818
}
1919

2020
TString HeaderFileName(const google::protobuf::Descriptor* message) {
21-
return ProtoFileNameStripped(message).append(".pb.h");
21+
bool use_proto_h = !!getenv("PROTOC_PLUGINS_LITE_HEADERS");
22+
auto name = ProtoFileNameStripped(message);
23+
return use_proto_h ? name.append(".proto.h") : name.append(".pb.h");
2224
}
2325

2426
TString SourceFileName(const google::protobuf::Descriptor* message) {

ydb/services/deprecated/persqueue_v0/grpc_pq_session.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#include "ydb/core/client/server/grpc_base.h"
44
#include <ydb/library/grpc/server/grpc_server.h>
5+
#include <ydb/public/api/protos/draft/persqueue_error_codes.pb.h>
56
#include <library/cpp/string_utils/quote/quote.h>
67
#include <util/generic/queue.h>
78

0 commit comments

Comments
 (0)