diff options
Diffstat (limited to 'src/mongo/db/ops/parsed_delete.cpp')
-rw-r--r-- | src/mongo/db/ops/parsed_delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/parsed_delete.cpp b/src/mongo/db/ops/parsed_delete.cpp index 69c030a3a48..0f019189f77 100644 --- a/src/mongo/db/ops/parsed_delete.cpp +++ b/src/mongo/db/ops/parsed_delete.cpp @@ -135,7 +135,7 @@ Status ParsedDelete::parseQueryToCQ() { // TODO: Due to the complexity which is related to the efficient sort support, we don't // support yet findAndModify with a query and sort but it should not be impossible. // This code assumes that in findAndModify code path, the parsed delete constructor should - // be called with source == kTimeseriesDelete for a time-series collection. + // be called with isTimeseriesDelete = true for a time-series collection. uassert(ErrorCodes::InvalidOptions, "Cannot perform a findAndModify with a query and sort on a time-series collection.", !_timeseriesDeleteQueryExprs); |