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

make query optimizer code not access data in constructor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker - P1 Blocker - P1
    • 2.1.2
    • None
    • Querying
    • None
    • ALL

    Description

      If you look in src/mongo/util/stack_introspect.cpp
      you'll see this:

      if ( method == "MultiPlanScanner" ||
      method == "QueryPlan" ||
      method == "QueryPlanSet" ||
      method == "QueryOptimizerCursorImpl" ||
      method == "QueryPlanGenerator" )
      return false;

      if you remove those lines, you'll get fasserts when running tests

      to fix, we can't access data in constructors

      Attachments

        Activity

          People

            aaron Aaron Staple
            eliot Eliot Horowitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: