node-sqlite icon indicating copy to clipboard operation
node-sqlite copied to clipboard

Return proper error messages when running parallel queries

Open kkaefer opened this issue 14 years ago • 0 comments

When running multiple queries in parallel, sometimes the error message gets overwritten by another query. This results in errors "not an error". This patch places the call to sqlite3_errmsg() in a mutex and adds some properties to the error object to aid debugging.

kkaefer avatar Feb 11 '11 00:02 kkaefer