Comparing version 1.5.5 to 1.5.6
@@ -533,5 +533,8 @@ // Generated by CoffeeScript 1.7.1 | ||
if (_this.request) { | ||
if (_this.config.options.rowCollectionOnRequestCompletion || _this.config.options.rowCollectionOnDone) { | ||
if (_this.config.options.rowCollectionOnRequestCompletion) { | ||
_this.request.rows.push(token.columns); | ||
} | ||
if (_this.config.options.rowCollectionOnDone) { | ||
_this.request.rst.push(token.columns); | ||
} | ||
return _this.request.emit('row', token.columns); | ||
@@ -561,3 +564,3 @@ } else { | ||
if (_this.request) { | ||
_this.request.emit('doneProc', token.rowCount, token.more, _this.procReturnStatusValue, _this.request.rows); | ||
_this.request.emit('doneProc', token.rowCount, token.more, _this.procReturnStatusValue, _this.request.rst); | ||
_this.procReturnStatusValue = void 0; | ||
@@ -568,3 +571,3 @@ if (token.rowCount !== void 0) { | ||
if (_this.config.options.rowCollectionOnDone) { | ||
return _this.request.rows = []; | ||
return _this.request.rst = []; | ||
} | ||
@@ -577,3 +580,3 @@ } | ||
if (_this.request) { | ||
_this.request.emit('doneInProc', token.rowCount, token.more, _this.request.rows); | ||
_this.request.emit('doneInProc', token.rowCount, token.more, _this.request.rst); | ||
if (token.rowCount !== void 0) { | ||
@@ -583,3 +586,3 @@ _this.request.rowCount += token.rowCount; | ||
if (_this.config.options.rowCollectionOnDone) { | ||
return _this.request.rows = []; | ||
return _this.request.rst = []; | ||
} | ||
@@ -598,3 +601,3 @@ } | ||
} | ||
_this.request.emit('done', token.rowCount, token.more, _this.request.rows); | ||
_this.request.emit('done', token.rowCount, token.more, _this.request.rst); | ||
if (token.rowCount !== void 0) { | ||
@@ -604,3 +607,3 @@ _this.request.rowCount += token.rowCount; | ||
if (_this.config.options.rowCollectionOnDone) { | ||
return _this.request.rows = []; | ||
return _this.request.rst = []; | ||
} | ||
@@ -1028,2 +1031,3 @@ } | ||
this.request.rows = []; | ||
this.request.rst = []; | ||
this.createRequestTimer(); | ||
@@ -1030,0 +1034,0 @@ this.messageIo.sendMessage(packetType, payload.data, this.resetConnectionOnNextRequest); |
@@ -33,3 +33,3 @@ { | ||
], | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"main": "./lib/tedious.js", | ||
@@ -36,0 +36,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
191110
5555