summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-05-09 11:11:00 -0400
committerDan Pasette <dan@mongodb.com>2014-05-15 18:47:17 -0400
commit826903317459a630d3e0cd57653d65567a2144e3 (patch)
tree1fd9424fbf8fdfb21e140bdc197173fc83bc652f
parent36a43587509d9caaae6480c533d59d894a2daec2 (diff)
downloadmongo-826903317459a630d3e0cd57653d65567a2144e3.tar.gz
SERVER-13852 initialize IndexBounds::endKeyInclusive in constructor
(cherry picked from commit bd223e14fe2fbbb9dd76a5410ff5ee8c47383758)
-rw-r--r--src/mongo/db/query/index_bounds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/index_bounds.h b/src/mongo/db/query/index_bounds.h
index 339093ef49f..8bf955aadaf 100644
--- a/src/mongo/db/query/index_bounds.h
+++ b/src/mongo/db/query/index_bounds.h
@@ -71,7 +71,7 @@ namespace mongo {
* interpret. Previously known as FieldRangeVector.
*/
struct IndexBounds {
- IndexBounds() : isSimpleRange(false) { }
+ IndexBounds() : isSimpleRange(false), endKeyInclusive(false) { }
// For each indexed field, the values that the field is allowed to take on.
vector<OrderedIntervalList> fields;