diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-04-03 18:27:56 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-04-17 12:03:10 -0400 |
commit | fcf41ce8ddf70894ed6803420e94a1685cc60903 (patch) | |
tree | 79de3abcf16f4ad6b9029c7ff3a63504963bb338 /src/mongo/shell | |
parent | dc4832736957d840760af6557d65dcf28cd81063 (diff) | |
download | mongo-fcf41ce8ddf70894ed6803420e94a1685cc60903.tar.gz |
SERVER-34094 Change snapshot read tests to use multi-statement transactions
Diffstat (limited to 'src/mongo/shell')
-rw-r--r-- | src/mongo/shell/query.js | 1 |
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. |