diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2013-09-18 11:57:21 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2013-09-18 16:42:20 -0400 |
commit | 311ebc33f399b555309ee6eba04af8c605108529 (patch) | |
tree | be50e3cfea0c124759ded943a5d1c7cc5a79910b /src/mongo/db/exec/collection_scan_common.h | |
parent | de25d5b966fae434669df47b41c076445d2303f6 (diff) | |
download | mongo-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.h | 4 |
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()), |