summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/idhack.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-07-15 17:30:02 -0400
committerDavid Storch <david.storch@10gen.com>2014-07-22 09:24:11 -0400
commit7ffac7f351b80f84589349e44693a94d5cc5e14c (patch)
tree3707298920eabe877af03963f3f61f74c5a61fc5 /src/mongo/db/exec/idhack.h
parentfb270d89cbcfdb98c3cee3e631c76ca035c7b4f0 (diff)
downloadmongo-7ffac7f351b80f84589349e44693a94d5cc5e14c.tar.gz
SERVER-14407 replace Runner with PlanExecutor
Diffstat (limited to 'src/mongo/db/exec/idhack.h')
-rw-r--r--src/mongo/db/exec/idhack.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/exec/idhack.h b/src/mongo/db/exec/idhack.h
index b365374d893..a708a332c27 100644
--- a/src/mongo/db/exec/idhack.h
+++ b/src/mongo/db/exec/idhack.h
@@ -54,7 +54,7 @@ namespace mongo {
virtual StageState work(WorkingSetID* out);
virtual void prepareToYield();
- virtual void recoverFromYield();
+ virtual void recoverFromYield(OperationContext* opCtx);
virtual void invalidate(const DiskLoc& dl, InvalidationType type);
/**
@@ -93,6 +93,9 @@ namespace mongo {
// Have we returned our one document?
bool _done;
+ // Do we need to add index key metadata for $returnKey?
+ bool _addKeyMetadata;
+
CommonStats _commonStats;
IDHackStats _specificStats;
};