mirror of https://github.com/mongodb/mongo
SERVER-112338 Fix indentation in IndexProbe toString() (#43013)
GitOrigin-RevId: f2dc9771a94b5cb48342eab4a01c37f5d23b0159
This commit is contained in:
parent
52c0a0f46d
commit
b6cdec1ed3
|
|
@ -2077,9 +2077,10 @@ IndexProbeNode::IndexProbeNode(NamespaceString nssArg, IndexEntry indexArg)
|
|||
: nss(nssArg), index(indexArg) {}
|
||||
|
||||
void IndexProbeNode::appendToString(str::stream* ss, int indent) const {
|
||||
addIndent(ss, indent);
|
||||
*ss << "INDEX_PROBE\n";
|
||||
addIndent(ss, indent + 1);
|
||||
*ss << "Namespace: " << toStringForLogging(nss) << " Index: " << index.identifier.toString();
|
||||
*ss << "Namespace: " << toStringForLogging(nss) << " Index: " << index.keyPattern << "\n";
|
||||
}
|
||||
|
||||
std::unique_ptr<QuerySolutionNode> IndexProbeNode::clone() const {
|
||||
|
|
|
|||
Loading…
Reference in New Issue