[SERVER-800] db.test_find_advanced.find({a:/[1|2]/}) returns 2 docs on 1.2.X but 0 on 1.3.X Created: 20/Mar/10 Updated: 20/Mar/10 Resolved: 20/Mar/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.3.3, 1.3.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Amor Kvalheim | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mac os x 10.6.2, nodejs 0.1.33 |
||
| Participants: |
| Description |
|
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 |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 20/Mar/10 ] |
|
no longer support regex for numbers |