diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-10-24 16:26:43 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-10-25 12:52:52 -0400 |
commit | bb597087d1d8aa4c0aecb34bd37ca60588dd61aa (patch) | |
tree | 72a20bc1ca2a7d29ef052de02ffb21b552739cad /src/mongo/db/dbhelpers.h | |
parent | dedd6bfea9b15e1e10de5cb67216f89ecb36fea8 (diff) | |
download | mongo-bb597087d1d8aa4c0aecb34bd37ca60588dd61aa.tar.gz |
SERVER-11178: move ensureHaveIdIndex from bare to inside IndexCatalog
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index c129f732312..19226cc8aec 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -61,7 +61,6 @@ namespace mongo { This method can be a little (not much) cpu-slow, so you may wish to use OCCASIONALLY ensureIndex(...); - Note: use ensureHaveIdIndex() for the _id index: it is faster. Note: does nothing if collection does not yet exist. */ static void ensureIndex(const char *ns, BSONObj keyPattern, bool unique, const char *name); |