diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-08-18 16:32:08 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-10-27 13:07:20 -0400 |
commit | 9c6ec970c5e7c7c8058008d30951430d149b3968 (patch) | |
tree | 315b0eb49d8e92ac180308e81804ee52f4c8563c /src/mongo/db/catalog/index_catalog.h | |
parent | ca29cc4f4f9b7de04dc507c0428da898cbd1c9cd (diff) | |
download | mongo-9c6ec970c5e7c7c8058008d30951430d149b3968.tar.gz |
SERVER-13951 Changes that depend on rollback
Diffstat (limited to 'src/mongo/db/catalog/index_catalog.h')
-rw-r--r-- | src/mongo/db/catalog/index_catalog.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/db/catalog/index_catalog.h b/src/mongo/db/catalog/index_catalog.h index 50ba248e6aa..00c8d883ab5 100644 --- a/src/mongo/db/catalog/index_catalog.h +++ b/src/mongo/db/catalog/index_catalog.h @@ -253,19 +253,13 @@ namespace mongo { // ----- data modifiers ------ // this throws for now - void indexRecord(OperationContext* txn, const BSONObj& obj, const DiskLoc &loc); + Status indexRecord(OperationContext* txn, const BSONObj& obj, const DiskLoc &loc); void unindexRecord(OperationContext* txn, const BSONObj& obj, const DiskLoc& loc, bool noWarn); - /** - * checks all unique indexes and checks for conflicts - * should not throw - */ - Status checkNoIndexConflicts( OperationContext* txn, const BSONObj& obj ); - // ------- temp internal ------- std::string getAccessMethodName(OperationContext* txn, const BSONObj& keyPattern) { |