summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/or.cpp
diff options
context:
space:
mode:
authorBenjamin Murphy <benjamin_murphy@me.com>2016-02-25 10:19:29 -0500
committerBenjamin Murphy <benjamin_murphy@me.com>2016-03-14 18:03:04 -0400
commit488f48f2f497a4e844aa3057e49f96d2a4be1bcb (patch)
treeb73cd307dcfeb06e241d63195df243314b8fb91e /src/mongo/db/exec/or.cpp
parent4b6952e97e74d8c7bd16ebfc5fe6e412ccf0f48c (diff)
downloadmongo-488f48f2f497a4e844aa3057e49f96d2a4be1bcb.tar.gz
SERVER-22833 Rename MatchExpression::toBSON() to serialize(), and ensure it produces parseable output.
Diffstat (limited to 'src/mongo/db/exec/or.cpp')
-rw-r--r--src/mongo/db/exec/or.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/or.cpp b/src/mongo/db/exec/or.cpp
index 327ec1b31fd..f9d51880c2f 100644
--- a/src/mongo/db/exec/or.cpp
+++ b/src/mongo/db/exec/or.cpp
@@ -143,7 +143,7 @@ unique_ptr<PlanStageStats> OrStage::getStats() {
// Add a BSON representation of the filter to the stats tree, if there is one.
if (NULL != _filter) {
BSONObjBuilder bob;
- _filter->toBSON(&bob);
+ _filter->serialize(&bob);
_commonStats.filter = bob.obj();
}