summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/text_or.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/text_or.cpp')
-rw-r--r--src/mongo/db/exec/text_or.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/text_or.cpp b/src/mongo/db/exec/text_or.cpp
index 23011388369..195af913a99 100644
--- a/src/mongo/db/exec/text_or.cpp
+++ b/src/mongo/db/exec/text_or.cpp
@@ -115,7 +115,7 @@ std::unique_ptr<PlanStageStats> TextOrStage::getStats() {
if (_filter) {
BSONObjBuilder bob;
- _filter->toBSON(&bob);
+ _filter->serialize(&bob);
_commonStats.filter = bob.obj();
}