summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorDivjot Arora <divjot.arora@10gen.com>2019-02-11 12:46:18 -0500
committerDivjot Arora <divjot.arora@10gen.com>2019-02-12 09:10:56 -0500
commit7941c8a7424590247f3d6b3bdbad7cff50b8b90c (patch)
treedad05bcb188fe57210792094d4eb432646c8d914 /src/mongo
parent4597c34dcdacf0ff5c0e4c7d99d0c735bdd03acc (diff)
downloadmongo-7941c8a7424590247f3d6b3bdbad7cff50b8b90c.tar.gz
SERVER-35963 Remove old WT index_collator
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
index 1b033fa90cb..e72decaf98e 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp
@@ -1732,26 +1732,4 @@ void WiredTigerIndexStandard::_unindex(OperationContext* opCtx,
}
}
-// ---------------- for compatability with rc4 and previous ------
-
-int index_collator_customize(WT_COLLATOR* coll,
- WT_SESSION* s,
- const char* uri,
- WT_CONFIG_ITEM* metadata,
- WT_COLLATOR** collp) {
- fassertFailedWithStatusNoTrace(28580,
- Status(ErrorCodes::UnsupportedFormat,
- str::stream()
- << "Found an index from an unsupported RC version."
- << " Please restart with --repair to fix."));
-}
-
-extern "C" MONGO_COMPILER_API_EXPORT int index_collator_extension(WT_CONNECTION* conn,
- WT_CONFIG_ARG* cfg) {
- static WT_COLLATOR idx_static;
-
- idx_static.customize = index_collator_customize;
- return conn->add_collator(conn, "mongo_index", &idx_static, NULL);
-}
-
} // namespace mongo