-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There are some call sites using raw pointers to ParsedUpdate (or CanonicalUpdate after SERVER-113840 landes) like:
- src/mongo/db/query/get_executor.h#L221
- src/mongo/db/query/get_executor.cpp#L1777
- src/mongo/db/exec/runtime_planners/classic_runtime_planner/planner_interface.h#L73
- src/mongo/db/exec/runtime_planners/classic_runtime_planner/planner_interface.cpp#L154
- src/mongo/db/exec/express/plan_executor_express.h#L82
- src/mongo/db/exec/express/plan_executor_express.cpp#L685
These raw pointers seem unnecessary and can be replaced with references to ensure their existences.
We could also check the same for ParsedDelete*.
- is related to
-
SERVER-113840 Refactor ParsedUpdate to allow shapifying with unoptimized query
-
- Closed
-