Skip to content

Application crashes on execution #38

@DCrow

Description

@DCrow

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
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions