[SERVER-1620] bsondump prints empty arrays as empty hashes Created: 11/Aug/10 Updated: 12/Jul/16 Resolved: 16/Aug/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.6.0 |
| Fix Version/s: | 1.7.0 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | J Greely | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MacOS X 10.6.4, 64-bit |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
Empty arrays become empty hashes; mongo shell and mongoexport handle this correctly: % mongo ) % mongoexport -d test -c foo , "x" : 1, "y" : [] } % mongodump -d test -c foo |