summaryrefslogtreecommitdiff
path: root/src/mongo/shell/query.js
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-04-03 18:27:56 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-04-17 12:03:10 -0400
commitfcf41ce8ddf70894ed6803420e94a1685cc60903 (patch)
tree79de3abcf16f4ad6b9029c7ff3a63504963bb338 /src/mongo/shell/query.js
parentdc4832736957d840760af6557d65dcf28cd81063 (diff)
downloadmongo-fcf41ce8ddf70894ed6803420e94a1685cc60903.tar.gz
SERVER-34094 Change snapshot read tests to use multi-statement transactions
Diffstat (limited to 'src/mongo/shell/query.js')
-rw-r--r--src/mongo/shell/query.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/shell/query.js b/src/mongo/shell/query.js
index 78e334f0256..e7d7de16605 100644
--- a/src/mongo/shell/query.js
+++ b/src/mongo/shell/query.js
@@ -781,6 +781,7 @@ DBCommandCursor.prototype._runGetMoreCommand = function() {
if (this._txnNumber) {
getMoreCmd.txnNumber = NumberLong(this._txnNumber);
+ getMoreCmd.autocommit = false;
}
// Deliver the getMore command, and check for errors in the response.