diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-08-19 14:02:03 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-08-19 14:02:03 -0400 |
commit | 7681d53e0aff4d087009df1ddc15a7163a9e4e63 (patch) | |
tree | 11106e71a721213f4fbc9fa083c4a0b11230490f | |
parent | 9783eed68d7151681fd99cb136e7f1eef3c064c3 (diff) | |
download | mongo-7681d53e0aff4d087009df1ddc15a7163a9e4e63.tar.gz |
temp debugging MINOR
-rw-r--r-- | jstests/group1.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/group1.js b/jstests/group1.js index 4c4a8f980ed..292e91902be 100644 --- a/jstests/group1.js +++ b/jstests/group1.js @@ -20,6 +20,11 @@ assert( res[0].count == 2 , "C" ); assert( res[1].a == 2 , "D" ); assert( res[1].count == 3 , "E" ); +// TEMP DEBUGGING +p.ns = t._shortName; +printjson( db.runCommand( { "group" : db._groupFixParms( p ) } ) ); +// ---- + assert.eq( res , t.groupcmd( p ) , "ZZ" ); ret = t.groupcmd( { key : {} , reduce : p.reduce , initial : p.initial } ); |