diff options
author | David Storch <david.storch@10gen.com> | 2019-03-20 17:18:56 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2019-03-22 16:23:15 -0400 |
commit | 60c0441f9ba3196eaabe38935333d17f1aff88f8 (patch) | |
tree | edf0c9d697406fa2830057699f81e233e076b0bd /src/mongo/db/query/canonical_query.cpp | |
parent | 7863f89c67dc4fa50330e585b5a4310daa0f42dc (diff) | |
download | mongo-60c0441f9ba3196eaabe38935333d17f1aff88f8.tar.gz |
SERVER-40267 Clean up debug string generation for MatchExpression.
Diffstat (limited to 'src/mongo/db/query/canonical_query.cpp')
-rw-r--r-- | src/mongo/db/query/canonical_query.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/canonical_query.cpp b/src/mongo/db/query/canonical_query.cpp index f8661a2fdbc..fa2f522d6de 100644 --- a/src/mongo/db/query/canonical_query.cpp +++ b/src/mongo/db/query/canonical_query.cpp @@ -441,7 +441,7 @@ std::string CanonicalQuery::toString() const { } // The expression tree puts an endl on for us. - ss << "Tree: " << _root->toString(); + ss << "Tree: " << _root->debugString(); ss << "Sort: " << _qr->getSort().toString() << '\n'; ss << "Proj: " << _qr->getProj().toString() << '\n'; if (!_qr->getCollation().isEmpty()) { |