summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ignatyev <alexander.ignatyev@mongodb.com>2022-05-09 14:41:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-09 22:28:39 +0000
commit15c54312985ba077cda298282e697a88e64ab5d0 (patch)
tree3b210e3700e2e75b975c8561814664b828be550c
parent5b6dfa169031f8e0d68d5d2ce665c4d977d06494 (diff)
downloadmongo-15c54312985ba077cda298282e697a88e64ab5d0.tar.gz
SERVER-66163 Use index entry from IXScan to report IET
(cherry picked from commit 39ccb28e092ad8f6e4748fceb59319ef32d97b02)
-rw-r--r--src/mongo/db/query/planner_access.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/query/planner_access.cpp b/src/mongo/db/query/planner_access.cpp
index 0415155cce9..9e60f455834 100644
--- a/src/mongo/db/query/planner_access.cpp
+++ b/src/mongo/db/query/planner_access.cpp
@@ -1034,7 +1034,8 @@ void QueryPlannerAccess::finishLeafNode(
bounds->fields[i]));
}
}
- LOGV2_DEBUG(6334900, 5, "Build IETs", "iets"_attr = ietsToString(index, ixScan->iets));
+ LOGV2_DEBUG(
+ 6334900, 5, "Build IETs", "iets"_attr = ietsToString(ixScan->index, ixScan->iets));
}
// We create bounds assuming a forward direction but can easily reverse bounds to align