-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
App crashes randomly(node reports it as abort) when executing an sql statement.
Sometimes the same statement executes successfully but most times it crashes.
I am using
node - 10.0.0
sqlanywhere - 16.0.0.2252
Sample code
var sqlanywhere = require('sqlanywhere');
var conn = sqlanywhere.createConnection();
conn.connect("<some connection string>", function(err) {
if (err) throw err;
conn.exec('call test(100500);', [], function (err, result) {
if (err) throw err;
console.log(result);
conn.disconnect();
});
});test procedure declaration
create or replace procedure test(@param int)
begin
select newid() as a
endReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels