summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-10-24 12:47:50 -0400
committerEliot Horowitz <eliot@10gen.com>2013-10-25 12:52:52 -0400
commit17397f441842a66a271ed6490c92d8eb56545e5e (patch)
tree2e866df51a27728a640d49087a0c9cbec3271557 /src/mongo/db/catalog/index_catalog.h
parente01542ba7a9e069214540ab7be92a21badd9bf44 (diff)
downloadmongo-17397f441842a66a271ed6490c92d8eb56545e5e.tar.gz
SERVER-11178: move _id key fixing into IndexCatalog
Diffstat (limited to 'src/mongo/db/catalog/index_catalog.h')
-rw-r--r--src/mongo/db/catalog/index_catalog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_catalog.h b/src/mongo/db/catalog/index_catalog.h
index 345550d9bcb..b7cc42fa1d2 100644
--- a/src/mongo/db/catalog/index_catalog.h
+++ b/src/mongo/db/catalog/index_catalog.h
@@ -145,6 +145,8 @@ namespace mongo {
static BSONObj fixIndexSpec( const BSONObj& spec );
+ static BSONObj fixIndexKey( const BSONObj& key );
+
private:
Status _upgradeDatabaseMinorVersionIfNeeded( const string& newPluginName );