Skip to content

Commit

Permalink
(FIX) shouldnt set autocommit to 0 in beginTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
rayzyar committed Aug 20, 2015
1 parent 3a20a96 commit 4130b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drivers/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var MySqlConnection = Connection.extend({
},

beginTransaction: function (callback) {
this._runSql(["SET autocommit=0", "START TRANSACTION"], callback);
this._runSql(["START TRANSACTION"], callback);
},

commitTransaction: function (callback) {
Expand Down

0 comments on commit 4130b7b

Please sign in to comment.