'aggregate' command gets registered with wrong name on Windows --dbg=on --opt=off builds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.10
    • Affects Version/s: 3.3.9
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Because the aggregate command is declared as a variable and not using a MONGO_INITIALIZER, on Windows DEBUG builds --dbg=on --opt=off it seems to be instantiated before the AggregationRequest::kCommandName static gets initialized and gets a bad command name.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: