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

Validate index option values

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Validate that index option values are valid (e.g. true, false, 1, 0)...

      db.indextest.createIndex(

      {c:1}

      ,

      {sparse : "abc"}

      )
      should produce an error.

      Related to/dupe of SERVER-769...

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.briskin Steve Briskin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: