diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-08-20 12:40:32 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-08-21 13:46:28 -0400 |
commit | 8775c15cca254796fa558312da1aa365912a2050 (patch) | |
tree | 5c3a2d4e7ceccafdf97c47180c490d2f73be8e1c /src/mongo/db/storage/sorted_data_interface.h | |
parent | 3f62e3db2f452c713b5b63220034a01e67632207 (diff) | |
download | mongo-8775c15cca254796fa558312da1aa365912a2050.tar.gz |
SERVER-42923 Callers of dupKeyCheck should pass KeyString
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface.h')
-rw-r--r-- | src/mongo/db/storage/sorted_data_interface.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface.h b/src/mongo/db/storage/sorted_data_interface.h index 62ee4f8168d..b64f438d78e 100644 --- a/src/mongo/db/storage/sorted_data_interface.h +++ b/src/mongo/db/storage/sorted_data_interface.h @@ -107,15 +107,6 @@ public: bool dupsAllowed) = 0; /** - * Return ErrorCodes::DuplicateKey if there is more than one occurence of 'key' in this index, - * and Status::OK() otherwise. This call is only allowed on a unique index, and will invariant - * otherwise. - * - * @param opCtx the transaction under which this operation takes place - */ - virtual Status dupKeyCheck(OperationContext* opCtx, const BSONObj& key) = 0; - - /** * Return ErrorCodes::DuplicateKey if there is more than one occurence of 'KeyString' in this * index, and Status::OK() otherwise. This call is only allowed on a unique index, and will * invariant otherwise. |