diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-10-16 09:08:28 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-10-16 17:56:42 -0400 |
commit | 34cfe32ab4c0751ceb55b607c05dc593c3dd901c (patch) | |
tree | 708e7fa2ba33df6a195bbae6d957308c07bbf28d /src/mongo/db/storage/sorted_data_interface.h | |
parent | 5af2cac9e0de1bf20eba4790ecc3547c679dfd13 (diff) | |
download | mongo-34cfe32ab4c0751ceb55b607c05dc593c3dd901c.tar.gz |
SERVER-13635: pass whether an index is unique or not down through SortedDataInterface
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface.h')
-rw-r--r-- | src/mongo/db/storage/sorted_data_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface.h b/src/mongo/db/storage/sorted_data_interface.h index 32776604374..a7888acad75 100644 --- a/src/mongo/db/storage/sorted_data_interface.h +++ b/src/mongo/db/storage/sorted_data_interface.h @@ -79,7 +79,8 @@ namespace mongo { virtual bool unindex(OperationContext* txn, const BSONObj& key, - const DiskLoc& loc) = 0; + const DiskLoc& loc, + bool dupsAllowed) = 0; // TODO: Hide this by exposing an update method? virtual Status dupKeyCheck(OperationContext* txn, |