[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: |