From 582fc32574a3b158c81e49cb00e6ae59205e66ba Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Thu, 17 Mar 2011 00:05:43 +0100 Subject: Imported Upstream version 1.8.0 --- jstests/mr4.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/mr4.js') diff --git a/jstests/mr4.js b/jstests/mr4.js index b14cdfe..78c8bce 100644 --- a/jstests/mr4.js +++ b/jstests/mr4.js @@ -23,7 +23,7 @@ r = function( key , values ){ return { count : total }; }; -res = t.mapReduce( m , r , { scope : { xx : 1 } } ); +res = t.mapReduce( m , r , { out : "mr4_out" , scope : { xx : 1 } } ); z = res.convertToSingleObject() assert.eq( 3 , Object.keySet( z ).length , "A1" ); @@ -34,7 +34,7 @@ assert.eq( 3 , z.c.count , "A4" ); res.drop(); -res = t.mapReduce( m , r , { scope : { xx : 2 } } ); +res = t.mapReduce( m , r , { scope : { xx : 2 } , out : "mr4_out" } ); z = res.convertToSingleObject() assert.eq( 3 , Object.keySet( z ).length , "A1" ); -- cgit v1.2.3