From ba6ed45d7f5fcdeb79ed4e50a39a186ea9e0e569 Mon Sep 17 00:00:00 2001 From: Andrzej Jackowski Date: Thu, 12 Jun 2025 18:45:05 +0200 Subject: [PATCH] mapreduce: add missing comma and space in mapreduce_request operator<< This change is introduced to fix the broken formating of mapreduce_request `operator<<`. Due to lack of ", " before "cmd" the output was `reductions=[...]cmd=read_command{...}` instead of `reductions=[...], cmd=read_command{...}`. --- query.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query.cc b/query.cc index cfb0a0698e..eb8d698f49 100644 --- a/query.cc +++ b/query.cc @@ -100,7 +100,7 @@ std::ostream& operator<<(std::ostream& out, const mapreduce_request& r) { if (r.shard_id_hint) { fmt::print(out, ", shard_id_hint={}", r.shard_id_hint.value()); } - fmt::print(out, "cmd={}, pr={}, cl={}, timeout(ms)={}}}", + fmt::print(out, ", cmd={}, pr={}, cl={}, timeout(ms)={}}}", r.cmd, r.pr, r.cl, ms); return out; }