diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2013-10-05 13:04:39 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2013-10-07 15:07:16 -0400 |
commit | a5c4104bb28f2870602a8c7a5e4a4b506dbc99a1 (patch) | |
tree | 3617caf0663936d4b109f3ff6ba590f307078f41 /src/mongo/db/query/index_bounds.h | |
parent | b7660950c4888052f2c68a02f6667c114a72dfbd (diff) | |
download | mongo-a5c4104bb28f2870602a8c7a5e4a4b506dbc99a1.tar.gz |
SERVER-10471 merge index bounds, enumerate based on indices, bug fixes
Diffstat (limited to 'src/mongo/db/query/index_bounds.h')
-rw-r--r-- | src/mongo/db/query/index_bounds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/query/index_bounds.h b/src/mongo/db/query/index_bounds.h index 81aa7b008d2..2b0ba90cee6 100644 --- a/src/mongo/db/query/index_bounds.h +++ b/src/mongo/db/query/index_bounds.h @@ -107,8 +107,10 @@ namespace mongo { /** * Get the key that we should with. + * + * Returns true if there is a valid start key. Returns false otherwise. */ - void getStartKey(vector<const BSONElement*>* valueOut, vector<bool>* inclusiveOut); + bool getStartKey(vector<const BSONElement*>* valueOut, vector<bool>* inclusiveOut); /** * The states of a key from an index scan. See checkKey below. |