summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorDan Pasette <dan@10mongodb.com>2014-03-24 20:53:48 -0400
committerDan Pasette <dan@mongodb.com>2014-03-25 10:24:43 -0400
commit5138b611cbb384f87c0437d51f1fe3a72a4bf7b4 (patch)
tree3d5efd252c3a0ce291a75d92900da2780d71316e /src/mongo/shell
parent84ae6f501a9eb27d19c8c4f668fa806220421f7d (diff)
downloadmongo-5138b611cbb384f87c0437d51f1fe3a72a4bf7b4.tar.gz
SERVER-13334 fix maxTimeMS shell helper with count
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/query.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/query.js b/src/mongo/shell/query.js
index 8e0e6b88d66..50fad60f7fa 100644
--- a/src/mongo/shell/query.js
+++ b/src/mongo/shell/query.js
@@ -167,7 +167,7 @@ DBQuery.prototype.count = function( applySkipLimit ) {
if ( this._special ) {
cmd.query = this._query.query;
if ( this._query.$maxTimeMS ) {
- cmd.$maxTimeMS = this._query.$maxTimeMS;
+ cmd.maxTimeMS = this._query.$maxTimeMS;
}
if ( this._query.$hint ) {
cmd.hint = this._query.$hint;