summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shardingtest.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/shardingtest.js')
-rw-r--r--src/mongo/shell/shardingtest.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js
index 3bf7af96e79..a578162b0fa 100644
--- a/src/mongo/shell/shardingtest.js
+++ b/src/mongo/shell/shardingtest.js
@@ -658,8 +658,6 @@ var ShardingTest = function(params) {
c = "" + collName;
}
- var isEmpty = (this.s.getCollection(c).count() == 0);
-
if (!_isSharded(dbName)) {
this.s.adminCommand({enableSharding: dbName});
}