[SERVER-146] arrays don't match themselves Created: 10/Jul/09  Updated: 05/Nov/19  Resolved: 09/Oct/09

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.2

Type: Bug Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-279 Multi-key indexes with empty arrays m... Closed
Related
related to SERVER-43502 Complete TODO listed in SERVER-146 Closed
related to SERVER-44222 Complete TODO listed in SERVER-146 Closed
Participants:

 Description   

I'm not sure if this is exactly a bug. If an object contains an array, it doesn't match itself, which is strange:

> db.y.count()
1
> x=db.y.findOne()
{"_id" :  ObjectId( "4a57873729a435a962700b96")  , "mongo" : "hacker" , "just" : BinData type: 2 len: 9 , "and" : ["an","array","reference"] , "with" : {"a" : "reference"}}
> db.y.remove(x)
> 
> 
> db.y.find()
{"_id" :  ObjectId( "4a57873729a435a962700b96")  , "mongo" : "hacker" , "just" : BinData type: 2 len: 9 , "and" : ["an","array","reference"] , "with" : {"a" : "reference"}}
> 



 Comments   
Comment by Eliot Horowitz (Inactive) [ 16/Oct/09 ]

release 10/16/2009

Comment by Eliot Horowitz (Inactive) [ 17/Jul/09 ]

make sure to turn on tests again
git grep TODO | grep 146

Generated at Thu Feb 08 02:53:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.