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

Coverity analysis defect 127649: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Optimization
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: