diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-10-24 17:35:36 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-10-25 12:52:52 -0400 |
commit | 27900becdf3bbeda9414ffeb03d0dcb465206ba6 (patch) | |
tree | b842de699649e15926693666e384f224565e0a1a /src/mongo/db/catalog/index_create.h | |
parent | 6aadb9dcb12c21e7ec4d5665f52cc6e18d87a2ae (diff) | |
download | mongo-27900becdf3bbeda9414ffeb03d0dcb465206ba6.tar.gz |
SERVER-11178: refactor index_create to not use Cataloghack
Diffstat (limited to 'src/mongo/db/catalog/index_create.h')
-rw-r--r-- | src/mongo/db/catalog/index_create.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mongo/db/catalog/index_create.h b/src/mongo/db/catalog/index_create.h index 230a9de4758..333169b342e 100644 --- a/src/mongo/db/catalog/index_create.h +++ b/src/mongo/db/catalog/index_create.h @@ -32,18 +32,16 @@ #include <string> -#include "mongo/db/diskloc.h" #include "mongo/db/storage/index_details.h" namespace mongo { - class NamespaceDetails; + class Collection; // Build an index in the foreground // If background is false, uses fast index builder // If background is true, uses background index builder; blocks until done. - void buildAnIndex(const std::string& ns, - NamespaceDetails *d, - IndexDetails& idx, - bool mayInterrupt); + void buildAnIndex( Collection* collection, + IndexDetails& idx, + bool mayInterrupt ); } // namespace mongo |