Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-205

mapreduce command with out:{inline:1} give error 'no collection name'

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      3.8.4-1-ARCH
      mongodb-2.4.1

      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.

            Assignee:
            gjmurakami Gary Murakami
            Reporter:
            blake-r Blake-R
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: