summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/index_bounds.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-10-05 13:04:39 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-10-07 15:07:16 -0400
commita5c4104bb28f2870602a8c7a5e4a4b506dbc99a1 (patch)
tree3617caf0663936d4b109f3ff6ba590f307078f41 /src/mongo/db/query/index_bounds.h
parentb7660950c4888052f2c68a02f6667c114a72dfbd (diff)
downloadmongo-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.h4
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.