From 315532e593564bdd797993cff7d4bfb0354bf06c Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 20 Feb 2012 14:17:31 -0800 Subject: SERVER-4150 explain should not be affected by a soft limit --- jstests/explain4.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/explain4.js') diff --git a/jstests/explain4.js b/jstests/explain4.js index 9898bc4da40..8261accd110 100644 --- a/jstests/explain4.js +++ b/jstests/explain4.js @@ -34,7 +34,7 @@ function checkFields( matches, sort, limit ) { checkField( "nYields" ); checkField( "nChunkSkips", 0 ); checkField( "isMultiKey", false ); -// checkField( "indexOnly", false ); + checkField( "indexOnly", false ); checkField( "server" ); checkField( "allPlans" ); explain.allPlans.forEach( function( x ) { checkPlanFields( x, matches ); } ); @@ -49,6 +49,6 @@ checkFields( 1, true ); t.save( {} ); checkFields( 1, false, 1 ); -//checkFields( 2, true, 1 ); +checkFields( 2, true, 1 ); // //// check all other fields, eg oldPlan -- cgit v1.2.1