summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/collection_scan_common.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-09-18 11:57:21 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-09-18 16:42:20 -0400
commit311ebc33f399b555309ee6eba04af8c605108529 (patch)
treebe50e3cfea0c124759ded943a5d1c7cc5a79910b /src/mongo/db/exec/collection_scan_common.h
parentde25d5b966fae434669df47b41c076445d2303f6 (diff)
downloadmongo-311ebc33f399b555309ee6eba04af8c605108529.tar.gz
SERVER-10026 enumeration as strategies, bug fixes galore, build plans
Diffstat (limited to 'src/mongo/db/exec/collection_scan_common.h')
-rw-r--r--src/mongo/db/exec/collection_scan_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/collection_scan_common.h b/src/mongo/db/exec/collection_scan_common.h
index a0ad324bc82..880e7b56fc7 100644
--- a/src/mongo/db/exec/collection_scan_common.h
+++ b/src/mongo/db/exec/collection_scan_common.h
@@ -34,8 +34,8 @@ namespace mongo {
struct CollectionScanParams {
enum Direction {
- FORWARD,
- BACKWARD,
+ FORWARD = 1,
+ BACKWARD = -1,
};
CollectionScanParams() : start(DiskLoc()),