diff options
author | Jason Rassi <rassi@10gen.com> | 2013-12-04 14:25:23 -0500 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2013-12-04 15:03:31 -0500 |
commit | 84a20358b16eb9cbe92d9d55014d9e0cc0606f35 (patch) | |
tree | 5ff3cba1e968b89fe15eff7fd49f8b41f7226a41 /src/mongo/db/index_legacy.cpp | |
parent | 051d74136ee5f920dbab72150a33a31405757ab9 (diff) | |
download | mongo-84a20358b16eb9cbe92d9d55014d9e0cc0606f35.tar.gz |
SERVER-10857 Remove erroneous IndexName::TEXT_INTERNAL
Diffstat (limited to 'src/mongo/db/index_legacy.cpp')
-rw-r--r-- | src/mongo/db/index_legacy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index_legacy.cpp b/src/mongo/db/index_legacy.cpp index 3692f0fd7d3..5181617396a 100644 --- a/src/mongo/db/index_legacy.cpp +++ b/src/mongo/db/index_legacy.cpp @@ -43,7 +43,7 @@ namespace mongo { BSONObj IndexLegacy::adjustIndexSpecObject(const BSONObj& obj) { string pluginName = IndexNames::findPluginName(obj.getObjectField("key")); - if (IndexNames::TEXT == pluginName || IndexNames::TEXT_INTERNAL == pluginName) { + if (IndexNames::TEXT == pluginName) { StringData desc = cc().desc(); if (desc.find("conn") == 0) { // this is to make sure we only complain for users @@ -90,7 +90,7 @@ namespace mongo { void IndexLegacy::postBuildHook(Collection* collection, const BSONObj& keyPattern) { // If it's an FTS index, we want to set the power of 2 flag. string pluginName = collection->getIndexCatalog()->getAccessMethodName(keyPattern); - if (IndexNames::TEXT == pluginName || IndexNames::TEXT_INTERNAL == pluginName) { + if (IndexNames::TEXT == pluginName) { NamespaceDetails* nsd = collection->details(); if (nsd->setUserFlag(NamespaceDetails::Flag_UsePowerOf2Sizes)) { nsd->syncUserFlags(collection->ns().ns()); |