diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-10-24 12:47:50 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-10-25 12:52:52 -0400 |
commit | 17397f441842a66a271ed6490c92d8eb56545e5e (patch) | |
tree | 2e866df51a27728a640d49087a0c9cbec3271557 /src/mongo/db/catalog/index_catalog.h | |
parent | e01542ba7a9e069214540ab7be92a21badd9bf44 (diff) | |
download | mongo-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.h | 2 |
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 ); |