diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-12-31 13:46:49 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-12-31 13:46:49 -0500 |
commit | 23dc8ce626613cf9d92cb58dcf877407fd668d5b (patch) | |
tree | 372528cbdb709eb98f719429e2d828eacdeb4b9f /src/mongo/db/storage/wiredtiger/wiredtiger_index.h | |
parent | 24706753ff3682714abe6e3468b68379eed9a526 (diff) | |
download | mongo-23dc8ce626613cf9d92cb58dcf877407fd668d5b.tar.gz |
SERVER-16632: use KeyString for WiredTiger index keys
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_index.h')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_index.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_index.h b/src/mongo/db/storage/wiredtiger/wiredtiger_index.h index 64fad84b3da..69291f1220f 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_index.h +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_index.h @@ -78,7 +78,9 @@ namespace mongo { * @param unique - If this is a unique index. * Note: even if unique, it may be allowed ot be non-unique at times. */ - WiredTigerIndex(const std::string& uri, const IndexDescriptor* desc); + WiredTigerIndex(OperationContext* ctx, + const std::string& uri, + const IndexDescriptor* desc); virtual SortedDataBuilderInterface* getBulkBuilder(OperationContext* txn, bool dupsAllowed); @@ -197,7 +199,9 @@ namespace mongo { class WiredTigerIndexUnique : public WiredTigerIndex { public: - WiredTigerIndexUnique( const std::string& uri, const IndexDescriptor* desc ); + WiredTigerIndexUnique( OperationContext* ctx, + const std::string& uri, + const IndexDescriptor* desc ); virtual bool unique() const { return true; } @@ -214,7 +218,9 @@ namespace mongo { class WiredTigerIndexStandard : public WiredTigerIndex { public: - WiredTigerIndexStandard( const std::string& uri, const IndexDescriptor* desc ); + WiredTigerIndexStandard( OperationContext* ctx, + const std::string& uri, + const IndexDescriptor* desc ); virtual bool unique() const { return false; } |