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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: