[CONJS-196] Disconnect event not caught Created: 2022-05-23 Updated: 2022-07-01 Resolved: 2022-07-01 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | pool |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/195 The 3.0.0 release seems to have introduced a bug that wasn't there in 2.5.6. Scenario Using the promise API
|
| Comments |
| Comment by Diego Dupin [ 2022-07-01 ] |
|
In 3.0, when releasing connection to pool not with connection.release() but connection.close(), connection wasn't given back to pool, but killed. |