commit
cbb25cc37f
|
@ -58,7 +58,7 @@ Transaction.prototype.rollback = function(cb) {
|
|||
* @param cb
|
||||
*/
|
||||
Transaction.begin = function(connector, options, cb) {
|
||||
if (typeof isolationLevel === 'function' && cb === undefined) {
|
||||
if (typeof options === 'function' && cb === undefined) {
|
||||
cb = options;
|
||||
options = {};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue