-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Hi!
All my calls for commit() close node with Segmentation Fault. I tested this with setAutoCommit(false).
I tested with Instant Client 12.1
Example:
var oracle = require("oracle")
var INSERT_EXAMPLE= ... //wherever
oracle.connect(connectData, function(err, connection) {
if (err) { console.log("Error connecting to db:", err); return; }
connection.setAutoCommit(false)
connection.execute(INSERT_EXAMPLE, [], function(err, results) {
if (err) { console.log("Error executing query:", err); return; }
//WILL SEGFAULT HERE!!!
connection.commit(function(err) {
console.log("callback commit")
console.log(err)
});
connection.close(); // call only when query is finished executing
});
});
Metadata
Metadata
Assignees
Labels
No labels