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

Coverity analysis defect 122696: Using a moved object

    • Fully Compatible
    • ALL
    • v6.1, v6.0
    • Sharding EMEA 2022-09-19

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /src/mongo/s/catalog/type_collection.cpp:52: USE_AFTER_MOVE 122696 "creationTime" is moved (indicated by "std::move(creationTime)").
      /src/mongo/s/catalog/type_collection.cpp:57: USE_AFTER_MOVE 122696 "creationTime" is used after it has been already moved.

            Assignee:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: