From d1b4fd56833d34f2fc2ca214ce6e618cfabc79fe Mon Sep 17 00:00:00 2001 From: Yaniv Michael Kaul Date: Wed, 15 Apr 2026 04:20:49 +0300 Subject: [PATCH] cql3, service, test: add explicit direct includes Add direct includes for result_message.hh and unimplemented.hh at files that use those declarations directly instead of relying on transitive includes. --- cql3/statements/batch_statement.cc | 1 + cql3/statements/broadcast_modification_statement.cc | 1 + cql3/statements/drop_keyspace_statement.cc | 1 + cql3/statements/truncate_statement.cc | 1 + service/paxos/paxos_state.cc | 1 + table_helper.cc | 1 + test/lib/cql_test_env.cc | 1 + 7 files changed, 7 insertions(+) diff --git a/cql3/statements/batch_statement.cc b/cql3/statements/batch_statement.cc index 7d0976e211..0637d30199 100644 --- a/cql3/statements/batch_statement.cc +++ b/cql3/statements/batch_statement.cc @@ -16,6 +16,7 @@ #include #include "cas_request.hh" #include "cql3/query_processor.hh" +#include "transport/messages/result_message.hh" #include "service/storage_proxy.hh" #include "tracing/trace_state.hh" #include "utils/unique_view.hh" diff --git a/cql3/statements/broadcast_modification_statement.cc b/cql3/statements/broadcast_modification_statement.cc index 49c715461a..c80b99633b 100644 --- a/cql3/statements/broadcast_modification_statement.cc +++ b/cql3/statements/broadcast_modification_statement.cc @@ -22,6 +22,7 @@ #include "cql3/expr/evaluate.hh" #include "cql3/query_options.hh" #include "cql3/query_processor.hh" +#include "transport/messages/result_message.hh" #include "cql3/values.hh" #include "timeout_config.hh" #include "service/broadcast_tables/experimental/lang.hh" diff --git a/cql3/statements/drop_keyspace_statement.cc b/cql3/statements/drop_keyspace_statement.cc index 7317eaed06..be3cb2ce59 100644 --- a/cql3/statements/drop_keyspace_statement.cc +++ b/cql3/statements/drop_keyspace_statement.cc @@ -14,6 +14,7 @@ #include "auth/service.hh" #include "cql3/statements/prepared_statement.hh" #include "cql3/query_processor.hh" +#include "unimplemented.hh" #include "service/migration_manager.hh" #include "service/storage_proxy.hh" #include "transport/event.hh" diff --git a/cql3/statements/truncate_statement.cc b/cql3/statements/truncate_statement.cc index ff5b6b746e..a912cfddfe 100644 --- a/cql3/statements/truncate_statement.cc +++ b/cql3/statements/truncate_statement.cc @@ -15,6 +15,7 @@ #include "cql3/cql_statement.hh" #include "data_dictionary/data_dictionary.hh" #include "cql3/query_processor.hh" +#include "unimplemented.hh" #include "service/storage_proxy.hh" #include #include "validation.hh" diff --git a/service/paxos/paxos_state.cc b/service/paxos/paxos_state.cc index a051230cf3..97226647db 100644 --- a/service/paxos/paxos_state.cc +++ b/service/paxos/paxos_state.cc @@ -16,6 +16,7 @@ #include "service/paxos/paxos_state.hh" #include "service/query_state.hh" #include "cql3/query_processor.hh" +#include "transport/messages/result_message.hh" #include "cql3/untyped_result_set.hh" #include "db/system_keyspace.hh" #include "replica/database.hh" diff --git a/table_helper.cc b/table_helper.cc index 8f5a55096e..87ed62a051 100644 --- a/table_helper.cc +++ b/table_helper.cc @@ -13,6 +13,7 @@ #include #include "table_helper.hh" #include "cql3/query_processor.hh" +#include "transport/messages/result_message.hh" #include "cql3/statements/create_table_statement.hh" #include "cql3/statements/modification_statement.hh" #include "replica/database.hh" diff --git a/test/lib/cql_test_env.cc b/test/lib/cql_test_env.cc index 970ba8da4e..09425c0687 100644 --- a/test/lib/cql_test_env.cc +++ b/test/lib/cql_test_env.cc @@ -19,6 +19,7 @@ #include "cdc/generation_service.hh" #include "cql3/functions/functions.hh" #include "cql3/query_processor.hh" +#include "transport/messages/result_message.hh" #include "cql3/query_options.hh" #include "cql3/statements/batch_statement.hh" #include "cql3/statements/modification_statement.hh"