diff --git a/query-request.hh b/query-request.hh index bb4bc5fa30..e61442a5d2 100644 --- a/query-request.hh +++ b/query-request.hh @@ -11,6 +11,7 @@ #include #include +#include #include "db/functions/function_name.hh" #include "db/functions/function.hh" @@ -517,3 +518,12 @@ struct forward_result { std::ostream& operator<<(std::ostream& out, const query::forward_result::printer&); } + + +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; diff --git a/query-result-set.hh b/query-result-set.hh index e7847c7126..b02ed5e5f2 100644 --- a/query-result-set.hh +++ b/query-result-set.hh @@ -10,6 +10,7 @@ #include +#include #include "types/types.hh" #include "schema/schema.hh" @@ -129,3 +130,6 @@ inline bool operator==(const result_set& x, const result_set& y) { } } + +template <> struct fmt::formatter : fmt::ostream_formatter {}; +template <> struct fmt::formatter : fmt::ostream_formatter {}; diff --git a/query-result.hh b/query-result.hh index 12c4555ba9..b97e5a6c58 100644 --- a/query-result.hh +++ b/query-result.hh @@ -13,6 +13,7 @@ #include "query-request.hh" #include "full_position.hh" #include +#include #include #include "seastarx.hh" @@ -450,3 +451,5 @@ public: std::ostream& operator<<(std::ostream& os, const query::result::printer&); } + +template <> struct fmt::formatter : fmt::ostream_formatter {};