Comparing version 1.3.4 to 1.3.5
@@ -84,3 +84,5 @@ // Generated by CoffeeScript 1.7.1 | ||
this.addParameter('statement', TYPES.NVarChar, this.sqlTextOrProcedure); | ||
this.addParameter('params', TYPES.NVarChar, this.makeParamsParameter(this.originalParameters)); | ||
if (this.originalParameters.length) { | ||
this.addParameter('params', TYPES.NVarChar, this.makeParamsParameter(this.originalParameters)); | ||
} | ||
_ref = this.originalParameters; | ||
@@ -98,3 +100,5 @@ for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
this.addOutputParameter('handle', TYPES.Int); | ||
this.addParameter('params', TYPES.NVarChar, this.makeParamsParameter(this.originalParameters)); | ||
if (this.originalParameters.length) { | ||
this.addParameter('params', TYPES.NVarChar, this.makeParamsParameter(this.originalParameters)); | ||
} | ||
this.addParameter('stmt', TYPES.NVarChar, this.sqlTextOrProcedure); | ||
@@ -101,0 +105,0 @@ this.sqlTextOrProcedure = 'sp_prepare'; |
@@ -29,3 +29,3 @@ { | ||
], | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"main": "./lib/tedious.js", | ||
@@ -32,0 +32,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
185713
5417