Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80351

Call to stage_builder::prepareSlotBasedExecutableTree in getSlotBasedExecutor sets 'preparingFromCache' to 'true' incorrectly

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • QE 2023-09-18, QE 2023-10-02, QE 2023-10-16, QE 2023-10-30, QE 2023-11-13, QE 2023-11-27, QE 2023-12-11, QE 2023-12-25, QE 2024-01-08, QE 2024-01-22

      See the following line. I think 'true' should instead be 'planningResult->isRecoveredFromCache()'.

      This is pretty minor; I think the consequence of this is that when binding parameters
      we wind up extracting the JSfunction from WhereMatchExpression and we always bind bounds for clustered collection scans.

            Assignee:
            xuan.zhang@mongodb.com Xuan Zhang
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: