diff options
author | David Storch <david.storch@10gen.com> | 2014-07-03 12:04:53 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2014-07-08 16:58:56 -0400 |
commit | a76bfecf5bb7a173d2c79f4877fe07a6b0bf1f80 (patch) | |
tree | be15fead2a5a4bc4807689d26a966839f3a897e4 /src/mongo/db/query/get_executor.h | |
parent | 01ec4f8ccf23d772523649051778b5a3f8c91c27 (diff) | |
download | mongo-a76bfecf5bb7a173d2c79f4877fe07a6b0bf1f80.tar.gz |
SERVER-14408 access stats directly from execution stages
Diffstat (limited to 'src/mongo/db/query/get_executor.h')
-rw-r--r-- | src/mongo/db/query/get_executor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/query/get_executor.h b/src/mongo/db/query/get_executor.h index f1eb40db2db..767d9668c20 100644 --- a/src/mongo/db/query/get_executor.h +++ b/src/mongo/db/query/get_executor.h @@ -61,6 +61,9 @@ namespace mongo { * * If the query cannot be executed, returns a Status indicating why. Deletes * rawCanonicalQuery. + * + * TODO: can we change this function to take ownership of 'canonicalQuery'? We + * could transfer the ownership of the CQ to the PlanExecutor being returned. */ Status getExecutor(OperationContext* txn, Collection* collection, |