diff options
author | David Storch <david.storch@mongodb.com> | 2023-04-03 14:31:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-03 16:31:33 +0000 |
commit | 3e855d6995eab89df943d24c80622ad793bc7319 (patch) | |
tree | 7c2df411d3024c2516b184dc421854e5cc812e8d | |
parent | dcbbd88070a697548796e3e9d85e4783e5ffc567 (diff) | |
download | mongo-3e855d6995eab89df943d24c80622ad793bc7319.tar.gz |
SERVER-75425 Include IETs in IndexScanNode debug print output
-rw-r--r-- | src/mongo/db/query/query_solution.cpp | 4 |
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); } |