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

Wrong error returned without correcting sending internal Fatal error message

Open rkgupta12 opened this issue 1 year ago • 0 comments

To reproduce.. just pass null or undefined insted of sqlquery in execute method. The error returned by code is cant add new command when connection is closed.. I doubt if this error is returned the connection objects may be wrongly closed as well. Is it the case with others?

rkgupta12 avatar Aug 17 '24 15:08 rkgupta12