[CDRIVER-205] mapreduce command with out:{inline:1} give error 'no collection name' Created: 28/Mar/13 Updated: 03/May/17 Resolved: 28/May/13 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Blake-R | Assignee: | Gary Murakami |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
3.8.4-1-ARCH |
||
| Issue Links: |
|
||||||||
| Description |
|
After mongo update to 2.4.x mapreduce with inline output will fail with error 'no collection name': mapreduce(function() { emit('bank', (this.spec_chips || 0) + (this.spec_locked_chips || 0)); emit('cnt', NumberLong(1)); }, function(k, va) { var r = 0; va.forEach(function(v) { r += v; }); return r; }, { updated_at: { $gt: 1364155200 }, weeklong_member: true }, { inline: 1 }) In mongo shell it's ok. With collection name instead of {inline:1}is ok. |
| Comments |
| Comment by Blake-R [ 11/Apr/13 ] |
| Comment by Blake-R [ 28/Mar/13 ] |
|
Oh, sorry. It's not C-driver bug, but C++-driver. Need to be moved. |