[CONJS-85] Implement pool events according to mysql/mysql2 API Created: 2019-06-18  Updated: 2019-06-20  Resolved: 2019-06-20

Status: Closed
Project: MariaDB Connector/node.js
Component/s: pool
Affects Version/s: None
Fix Version/s: 2.1.0

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


 Description   

Implement pool events according to mysql/mysql2 API.
see https://github.com/MariaDB/mariadb-connector-nodejs/pull/61
according to mysql/mysql2 documentation :

event description
acquire This event emits a connection is acquired from pool.
connection This event is emitted when a new connection is added to the pool. Has a connection object parameter
enqueue This event is emitted when a command cannot be satisfied immediately by the pool and is queued.
release This event is emitted when a connection is released back into the pool. Has a connection object parameter

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