summaryrefslogtreecommitdiff
path: root/jstests/dur
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-04-11 13:51:30 -0400
committerEric Milkie <milkie@10gen.com>2012-04-11 15:28:44 -0400
commit47c3a3ea636dcc5313e3f6700a4743a11db64eae (patch)
treed37c11740a98274835d9a344c0c0382a8a5fc48a /jstests/dur
parentf23c11d81717d0a162c6bc9cb05600ddff26d81f (diff)
downloadmongo-47c3a3ea636dcc5313e3f6700a4743a11db64eae.tar.gz
explicit declare variable
Diffstat (limited to 'jstests/dur')
-rw-r--r--jstests/dur/dur2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/dur/dur2.js b/jstests/dur/dur2.js
index e44a79589c2..042e7e1d827 100644
--- a/jstests/dur/dur2.js
+++ b/jstests/dur/dur2.js
@@ -36,7 +36,7 @@ function work() {
// go long enough we will have time to kill it later during recovery
var j = 2;
- MaxTime = 90;
+ var MaxTime = 90;
while (1) {
d.foo.insert({ _id: j, z: x });
d.foo.update({ _id: j }, { $inc: { a: 1} });