[CONJS-170] Pool.query(undefined) never release connection Created: 2021-06-21  Updated: 2021-09-15  Resolved: 2021-09-14

Status: Closed
Project: MariaDB Connector/node.js
Component/s: pool
Affects Version/s: None
Fix Version/s: 2.5.5, 3.0.0-rc

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

If an invalid query is passed in Pool.query
(like Pool.query(undefined)), pool never release connection.

An error must be thrown immediately, and never stall a connection



 Comments   
Comment by Diego Dupin [ 2021-09-14 ]

query / execute / batch methods will now throw an error, not having a stall connection.

Generated at Thu Feb 08 03:23:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.