mssql 12.5.1 → 12.5.2
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.
|
@@ -356,11 +356,10 @@ class PreparedStatement extends EventEmitter {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
req.execute('sp_execute',
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
})
|
|
359
|
+
req.execute('sp_execute', typeof callback === 'function'
|
|
360
|
+
? callback
|
|
361
|
+
: () => {}
|
|
362
|
+
)
|
|
364
363
|
|
|
365
364
|
return req
|
|
366
365
|
}
|