diff options
Diffstat (limited to 'src/mongo/db/exec/sbe/stages/text_match.cpp')
-rw-r--r-- | src/mongo/db/exec/sbe/stages/text_match.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/stages/text_match.cpp b/src/mongo/db/exec/sbe/stages/text_match.cpp index 6f1096a42a0..10015138378 100644 --- a/src/mongo/db/exec/sbe/stages/text_match.cpp +++ b/src/mongo/db/exec/sbe/stages/text_match.cpp @@ -80,7 +80,7 @@ PlanState TextMatchStage::getNext() { obj = builder.obj(); } const auto matchResult = _ftsMatcher.matches(obj); - _outValueAccessor.reset(value::TypeTags::Boolean, matchResult); + _outValueAccessor.reset(value::TypeTags::Boolean, value::bitcastFrom<bool>(matchResult)); } return trackPlanState(state); |