We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba7f888 commit aac9884Copy full SHA for aac9884
lib/transaction.js
@@ -53,8 +53,8 @@ function mixinTransaction(Oracle, oracle) {
53
Oracle.prototype.commit = function(connection, cb) {
54
debug('Commit a transaction');
55
connection.commit(function(err) {
56
- if (err) return cb(err);
57
connection.release(cb);
+ if (err) return cb(err);
58
});
59
};
60
@@ -66,8 +66,8 @@ function mixinTransaction(Oracle, oracle) {
66
Oracle.prototype.rollback = function(connection, cb) {
67
debug('Rollback a transaction');
68
connection.rollback(function(err) {
69
70
71
72
73
}
0 commit comments