summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2023-04-03 14:31:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-03 16:31:33 +0000
commit3e855d6995eab89df943d24c80622ad793bc7319 (patch)
tree7c2df411d3024c2516b184dc421854e5cc812e8d
parentdcbbd88070a697548796e3e9d85e4783e5ffc567 (diff)
downloadmongo-3e855d6995eab89df943d24c80622ad793bc7319.tar.gz
SERVER-75425 Include IETs in IndexScanNode debug print output
-rw-r--r--src/mongo/db/query/query_solution.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_solution.cpp b/src/mongo/db/query/query_solution.cpp
index 4f7c9b161e5..48c5cdbbd3f 100644
--- a/src/mongo/db/query/query_solution.cpp
+++ b/src/mongo/db/query/query_solution.cpp
@@ -652,6 +652,10 @@ void IndexScanNode::appendToString(str::stream* ss, int indent) const {
*ss << "direction = " << direction << '\n';
addIndent(ss, indent + 1);
*ss << "bounds = " << bounds.toString(index.collator != nullptr) << '\n';
+ if (!iets.empty()) {
+ addIndent(ss, indent + 1);
+ *ss << "iets = " << ietsToString(index, iets) << '\n';
+ }
addCommon(ss, indent);
}