Segmentation fault due to syntax error
ioanclarke opened this issue · comments
Ioan Clarke commented
Issue Summary
Running the following code while inside an Express server produces a segmentation fault on my system:
db.run(`
INSERT INTO quiz ($id, $name, $author, $dateutc)
VALUES ($id, $name, $author, $dateutc)`,
params
)
I was attempting to use Postgres syntax, which I now realise is incorrect of course.
When the above code runs, my Express server exits, and the following message is displayed in my terminal:
zsh: segmentation fault npm start
Steps to Reproduce
- Run the above code while inside an Express server
- The process exits with the message:
zsh: segmentation fault npm start
Version
5.1.6
Node.js Version
16.8.1
How did you install the library?
npm install sqlite3