Skip to content

Commit

Permalink
fix(transaction): delete autocommit when transaction begin (#9877)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsasaki609 committed Sep 14, 2018
1 parent 56d5fee commit 0115b34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/transaction.js
Expand Up @@ -135,7 +135,6 @@ class Transaction {
return this.begin()
.then(() => this.setDeferrable())
.then(() => this.setIsolationLevel())
.then(() => this.setAutocommit())
.catch(setupErr => this.rollback().finally(() => {
throw setupErr;
}));
Expand Down

0 comments on commit 0115b34

Please sign in to comment.