summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/btree_access_method.h
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2018-07-10 15:48:30 +0100
committerBernard Gorman <bernard.gorman@gmail.com>2018-08-09 23:02:51 +0100
commitfa8f737443dbcd604071baee6e7daa148d92ce68 (patch)
tree364914a4fac03b464bc3cca272c7b6914553892e /src/mongo/db/index/btree_access_method.h
parent55ff5175dfde9be093f69e792bac8408639c4653 (diff)
downloadmongo-fa8f737443dbcd604071baee6e7daa148d92ce68.tar.gz
SERVER-35860 Maintain multikey metadata keys for allPaths indexes
Diffstat (limited to 'src/mongo/db/index/btree_access_method.h')
-rw-r--r--src/mongo/db/index/btree_access_method.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/index/btree_access_method.h b/src/mongo/db/index/btree_access_method.h
index caed0eccab5..11b811806a3 100644
--- a/src/mongo/db/index/btree_access_method.h
+++ b/src/mongo/db/index/btree_access_method.h
@@ -32,7 +32,6 @@
#include "mongo/base/status.h"
#include "mongo/db/index/btree_key_generator.h"
#include "mongo/db/index/index_access_method.h"
-#include "mongo/db/index/index_access_method.h"
#include "mongo/db/jsobj.h"
namespace mongo {
@@ -48,7 +47,10 @@ public:
BtreeAccessMethod(IndexCatalogEntry* btreeState, SortedDataInterface* btree);
private:
- void doGetKeys(const BSONObj& obj, BSONObjSet* keys, MultikeyPaths* multikeyPaths) const final;
+ void doGetKeys(const BSONObj& obj,
+ BSONObjSet* keys,
+ BSONObjSet* multikeyMetadataKeys,
+ MultikeyPaths* multikeyPaths) const final;
// Our keys differ for V0 and V1.
std::unique_ptr<BtreeKeyGenerator> _keyGenerator;