You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I enable tracing ("db.on('trace', …)") while a database is serialized ("db.serialize()"), the first command I try to execute appears hangs indefinitely. If either tracing or serialization is off, I don't see this issue.
For example, in the following code, the callback is never called:
var sqlite3 = require('sqlite3');
var db = new sqlite3.Database(":memory:");
db.serialize();
db.on("trace", console.log);
db.run("CREATE TABLE Test (Id INTEGER)", function (err) {
console.log(`Callback: ${err}`);
});
The text was updated successfully, but these errors were encountered:
If I enable tracing ("db.on('trace', …)") while a database is serialized ("db.serialize()"), the first command I try to execute appears hangs indefinitely. If either tracing or serialization is off, I don't see this issue.
For example, in the following code, the callback is never called:
The text was updated successfully, but these errors were encountered: