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

Missing '#pragma once' on drop_collection.h

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Catalog
    • None
    • Fully Compatible

    Description

      The drop_collection.h header is not properly guarded, so the preprocessor may include it more than once in the same translation unit which will end up in having some errors about multiple definitions of the same symbol.

      Attachments

        Activity

          People

            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: