summaryrefslogtreecommitdiff
path: root/src/mongo/shell/session.js
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2018-12-06 23:15:36 -0500
committerA. Jesse Jiryu Davis <jesse@mongodb.com>2018-12-20 08:36:44 -0600
commitbf58b1ab2abfb2a3ab7a86c154f9f5954ed6f98c (patch)
tree558b52d1c2db71bb630ed38f9391db58cde986f4 /src/mongo/shell/session.js
parent759846ffced5ef84734bd917a99061edf44dd786 (diff)
downloadmongo-bf58b1ab2abfb2a3ab7a86c154f9f5954ed6f98c.tar.gz
SERVER-36902 Update jsTests for new shell transaction API
Diffstat (limited to 'src/mongo/shell/session.js')
-rw-r--r--src/mongo/shell/session.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/session.js b/src/mongo/shell/session.js
index cc68e97d575..d1587440545 100644
--- a/src/mongo/shell/session.js
+++ b/src/mongo/shell/session.js
@@ -524,7 +524,7 @@ var {
};
this.setTxnNumber_forTesting = function setTxnNumber_forTesting(newTxnNumber) {
- _txnNumber = newTxnNumber;
+ this.handle.setTxnNumber(newTxnNumber);
};
this.getTxnOptions = function getTxnOptions() {