diff options
author | Jason Rassi <rassi@10gen.com> | 2014-08-01 03:44:36 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2014-08-01 15:37:21 -0400 |
commit | 1f00ffcd22e671f5adeece53c68b5e462ba01ec0 (patch) | |
tree | c0f2bf4920a9a812870f1e980b3a477ac9910502 /src/mongo/db/catalog/collection_info_cache.h | |
parent | f76e04154f73286fc1ce4a023116faa4170bcfdf (diff) | |
download | mongo-1f00ffcd22e671f5adeece53c68b5e462ba01ec0.tar.gz |
SERVER-14738 Correctly determine if update w/ text index is in-place
Diffstat (limited to 'src/mongo/db/catalog/collection_info_cache.h')
-rw-r--r-- | src/mongo/db/catalog/collection_info_cache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/catalog/collection_info_cache.h b/src/mongo/db/catalog/collection_info_cache.h index 874018fdc89..3948c55e5c0 100644 --- a/src/mongo/db/catalog/collection_info_cache.h +++ b/src/mongo/db/catalog/collection_info_cache.h @@ -32,9 +32,9 @@ #include <boost/scoped_ptr.hpp> -#include "mongo/db/index_set.h" -#include "mongo/db/query/query_settings.h" #include "mongo/db/query/plan_cache.h" +#include "mongo/db/query/query_settings.h" +#include "mongo/db/update_index_data.h" namespace mongo { @@ -73,7 +73,7 @@ namespace mongo { /* get set of index keys for this namespace. handy to quickly check if a given field is indexed (Note it might be a secondary component of a compound index.) */ - const IndexPathSet& indexKeys() { + const UpdateIndexData& indexKeys() { if ( !_keysComputed ) computeIndexKeys(); return _indexedPaths; @@ -97,7 +97,7 @@ namespace mongo { // --- index keys cache bool _keysComputed; - IndexPathSet _indexedPaths; + UpdateIndexData _indexedPaths; // A cache for query plans. boost::scoped_ptr<PlanCache> _planCache; |