[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
mongodb-2.4.1


Issue Links:
Duplicate
is duplicated by SERVER-9318 Mapreduce implementation call dropCol... Closed

 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 ]

Moved to https://jira.mongodb.org/browse/SERVER-9318.

Comment by Blake-R [ 28/Mar/13 ]

Oh, sorry. It's not C-driver bug, but C++-driver. Need to be moved.

Generated at Wed Feb 07 21:08:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.