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

Coverity analysis defect 127649: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /src/mongo/db/query/optimizer/cascades/memo.h:246: UNINIT_CTOR 127649 Class member declaration for "_heuristicCE".
      /src/mongo/db/query/optimizer/opt_phase_manager.cpp:60: UNINIT_CTOR 127649 Non-static class member "_memo._heuristicCE" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: