summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/stage_types.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-12-14 14:43:08 -0500
committerDavid Storch <david.storch@10gen.com>2015-12-21 16:28:22 -0500
commit56dba2953b622efcae75d7bd9b6aa4154dd25d34 (patch)
treea5509777ef6324edd6f710a44bd0973065c44422 /src/mongo/db/query/stage_types.h
parent6bfa81cae0b0fee124065c1f38de339fd4f3dc7c (diff)
downloadmongo-56dba2953b622efcae75d7bd9b6aa4154dd25d34.tar.gz
SERVER-17011 add EnsureSorted stage
Preserves the sort order for 'ntoreturn hack' plans.
Diffstat (limited to 'src/mongo/db/query/stage_types.h')
-rw-r--r--src/mongo/db/query/stage_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/query/stage_types.h b/src/mongo/db/query/stage_types.h
index 29d16653f72..356555c32ab 100644
--- a/src/mongo/db/query/stage_types.h
+++ b/src/mongo/db/query/stage_types.h
@@ -57,6 +57,8 @@ enum StageType {
// Dummy stage used for receiving notifications of deletions during chunk migration.
STAGE_NOTIFY_DELETE,
+ STAGE_ENSURE_SORTED,
+
STAGE_EOF,
// This is more of an "internal-only" stage where we try to keep docs that were mutated