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

Coverity analysis defect 128706: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • 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:261: UNINIT_CTOR 128706 Class member declaration for "_heuristicCE".
      /src/mongo/db/query/optimizer/opt_phase_manager.cpp:62: UNINIT_CTOR 128706 Non-static class member "_memo._heuristicCE" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            milena.ivanova@mongodb.com Milena Ivanova
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: