orange-orm 4.7.3 → 4.7.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
- package/src/mssql/wrapQuery.js +3 -1
package/dist/index.mjs
CHANGED
|
@@ -17456,8 +17456,10 @@ function requireWrapQuery$2 () {
|
|
|
17456
17456
|
|
|
17457
17457
|
function onInnerCompleted(err, rows, hasMore) {
|
|
17458
17458
|
if (err) {
|
|
17459
|
-
if (err.code)
|
|
17459
|
+
if (err.code && err.severity !== 0)
|
|
17460
17460
|
onCompleted(err);
|
|
17461
|
+
if (rows)
|
|
17462
|
+
result.push(rows);
|
|
17461
17463
|
return;
|
|
17462
17464
|
}
|
|
17463
17465
|
result.push(rows);
|
package/package.json
CHANGED
package/src/mssql/wrapQuery.js
CHANGED
|
@@ -20,8 +20,10 @@ function wrapQuery(_context, connection) {
|
|
|
20
20
|
|
|
21
21
|
function onInnerCompleted(err, rows, hasMore) {
|
|
22
22
|
if (err) {
|
|
23
|
-
if (err.code)
|
|
23
|
+
if (err.code && err.severity !== 0)
|
|
24
24
|
onCompleted(err);
|
|
25
|
+
if (rows)
|
|
26
|
+
result.push(rows);
|
|
25
27
|
return;
|
|
26
28
|
}
|
|
27
29
|
result.push(rows);
|