diff options
Diffstat (limited to 'src/mongo/s/strategy_shard.cpp')
-rw-r--r-- | src/mongo/s/strategy_shard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/strategy_shard.cpp b/src/mongo/s/strategy_shard.cpp index 08c3511574c..e414b58c3c2 100644 --- a/src/mongo/s/strategy_shard.cpp +++ b/src/mongo/s/strategy_shard.cpp @@ -44,7 +44,7 @@ namespace mongo { class ShardStrategy : public Strategy { bool _isSystemIndexes( const char* ns ) { - return NamespaceString(ns).coll == "system.indexes"; + return nsToCollectionSubstring(ns) == "system.indexes"; } virtual void queryOp( Request& r ) { |