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

Create command should reject unknown options

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc1
    • Affects Version/s: 3.3.10
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2016-10-10

      The create command should reject any unknown options passed to it. Currently, unknown options are ignored.

      We could probably implement this by adding a catch-all case to the if statement in collection_options.cpp.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: