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

db.test_find_advanced.find({a:/[1|2]/}) returns 2 docs on 1.2.X but 0 on 1.3.X

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.3.3, 1.3.4
    • Component/s: None
    • None
    • Environment:
      mac os x 10.6.2, nodejs 0.1.33

      collection test_find_advanced with documents

      { "_id" : ObjectId("cca7a44b444c0cd70a2f0400"), "a" : 1 } { "_id" : ObjectId("cca7a44b215c0ed70a300400"), "a" : 2 } { "_id" : ObjectId("cca7a44b901703d70a310400"), "b" : 3 }

      db.test_find_advanced.find(

      {a:/[1|2]/}

      )

      on mongo 1.2.X returns

      { "_id" : ObjectId("cca7a44b444c0cd70a2f0400"), "a" : 1 } { "_id" : ObjectId("cca7a44b215c0ed70a300400"), "a" : 2 }

      db.test_find_advanced.find(

      {a:/[1|2]/}

      )

      on mongo 1.2.X returns

      0 documents

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: