diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-11-29 16:08:58 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-11-29 16:09:34 -0500 |
commit | 6836d1fd52e71e47040b8b7cdf25983c4836fdc9 (patch) | |
tree | 26af10509dee675626362313f209d93ed9418a4a /client | |
parent | d0e33a85d7288250b674599f59a4b675a255eb71 (diff) | |
download | mongo-6836d1fd52e71e47040b8b7cdf25983c4836fdc9.tar.gz |
Note about updating shell's explain
Diffstat (limited to 'client')
-rw-r--r-- | client/parallel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/parallel.cpp b/client/parallel.cpp index 412d4069b96..47b66a029cd 100644 --- a/client/parallel.cpp +++ b/client/parallel.cpp @@ -152,6 +152,10 @@ namespace mongo { } BSONObj ClusteredCursor::explain(){ + // Note: by default we filter out allPlans and oldPlan in the shell's + // explain() function. If you add any recursive structures, make sure to + // edit the JS to make sure everything gets filtered. + BSONObjBuilder b; b.append( "clusteredType" , type() ); |