diff options
author | Benjamin Murphy <benjamin_murphy@me.com> | 2016-02-25 10:19:29 -0500 |
---|---|---|
committer | Benjamin Murphy <benjamin_murphy@me.com> | 2016-03-14 18:03:04 -0400 |
commit | 488f48f2f497a4e844aa3057e49f96d2a4be1bcb (patch) | |
tree | b73cd307dcfeb06e241d63195df243314b8fb91e /src/mongo/db/exec/or.cpp | |
parent | 4b6952e97e74d8c7bd16ebfc5fe6e412ccf0f48c (diff) | |
download | mongo-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.cpp | 2 |
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(); } |