summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.h
diff options
context:
space:
mode:
authorYu Jin Kang Park <yujin.kang@mongodb.com>2023-03-15 13:42:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-15 14:20:38 +0000
commit56ff92ef5ceeccd0f174e33cde70cef99740ebbb (patch)
tree314be575dfee814a289e5dd2d7b72771e020b419 /src/mongo/db/index/index_access_method.h
parentb39c58a5326680ed06616359f69e654fdaf3b2ac (diff)
downloadmongo-56ff92ef5ceeccd0f174e33cde70cef99740ebbb.tar.gz
SERVER-74483 Remove unused InsertDeleteOptions fields
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r--src/mongo/db/index/index_access_method.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h
index c1b9b679c60..2803af40272 100644
--- a/src/mongo/db/index/index_access_method.h
+++ b/src/mongo/db/index/index_access_method.h
@@ -307,16 +307,9 @@ struct UpdateTicket {
* Flags we can set for inserts and deletes (and updates, which are kind of both).
*/
struct InsertDeleteOptions {
- // If there's an error, log() it.
- bool logIfError = false;
-
// Are duplicate keys allowed in the index?
bool dupsAllowed = false;
- // Only an index builder is allowed to insert into the index while it is building, so only the
- // index builder should set this to 'true'.
- bool fromIndexBuilder = false;
-
/**
* Specifies whether getKeys should relax the index constraints or not, in order of most
* permissive to least permissive.