[SERVER-56059] Missing '#pragma once' on drop_collection.h Created: 13/Apr/21  Updated: 29/Oct/23  Resolved: 13/Apr/21

Status: Closed
Project: Core Server
Component/s: Catalog
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 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.



 Comments   
Comment by Githook User [ 13/Apr/21 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-56059 Missing '#pragma once' on drop_collection.h
Branch: master
https://github.com/mongodb/mongo/commit/53d8a62350dd49cdf86092238a855623e11a5e4f

Generated at Thu Feb 08 05:38:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.