Coverity analysis defect 147900: Uninitialized scalar field

XMLWordPrintableJSON

    • Query Optimization
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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/classic_plan_cache.h:272: UNINIT_CTOR 147900 Class member declaration for "solutionHash".
      /src/mongo/db/query/classic_plan_cache.h:228: UNINIT_CTOR 147900 Non-static class member "solutionHash" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Ben Shteinfeld
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: