summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_request.h
diff options
context:
space:
mode:
authorJustin Seyster <justin.seyster@mongodb.com>2019-12-13 01:35:54 +0000
committerevergreen <evergreen@mongodb.com>2019-12-13 01:35:54 +0000
commit3a62fec23a50653994e01d1b1725d80a10fc208d (patch)
tree6eda6709522577d39a5d82a3afe25c7feb252e70 /src/mongo/db/query/query_request.h
parent07ba9da4013e908e7a9e37c4a7f482eddd9c3edc (diff)
downloadmongo-3a62fec23a50653994e01d1b1725d80a10fc208d.tar.gz
SERVER-43669 Serialize "sortKey" as BSONArray
Diffstat (limited to 'src/mongo/db/query/query_request.h')
-rw-r--r--src/mongo/db/query/query_request.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_request.h b/src/mongo/db/query/query_request.h
index 07da6b23f8e..1457480b3dd 100644
--- a/src/mongo/db/query/query_request.h
+++ b/src/mongo/db/query/query_request.h
@@ -429,6 +429,13 @@ public:
_resumeAfter = resumeAfter;
}
+ bool use44SortKeys() const {
+ return _use44SortKeys;
+ }
+
+ void setUse44SortKeys(bool use44SortKeys) {
+ _use44SortKeys = use44SortKeys;
+ }
/**
* Return options as a bit vector.
@@ -567,6 +574,8 @@ private:
// The Timestamp that RecoveryUnit::setTimestampReadSource() should be called with. The optional
// should only ever be engaged when testing commands are enabled.
boost::optional<Timestamp> _internalReadAtClusterTime;
+
+ bool _use44SortKeys = false;
};
} // namespace mongo