Arnaud Chen-yen-su
|
09b308f3fb
Add acquire and release events to Pool for tracking
|
7 years ago |
Douglas Christopher Wilson
|
eeca1326c5
lint: remove unused variables
|
7 years ago |
Douglas Christopher Wilson
|
2aa8b6c8ea
lint: prefer triple equal operator
|
8 years ago |
Douglas Christopher Wilson
|
c19c867d03
lint: enforce consistent quote style
|
8 years ago |
Douglas Christopher Wilson
|
8b1519c8dd
lint: require parans to construct objects
|
8 years ago |
Douglas Christopher Wilson
|
ef55076e55
Add POOL_CLOSED code to "Pool is closed." error
|
8 years ago |
Douglas Christopher Wilson
|
d68924568c
build: eslint@2.11.0
|
8 years ago |
Douglas Christopher Wilson
|
f867e85c7a
lint: require consistent return statements
|
8 years ago |
Douglas Christopher Wilson
|
b9c151d556
Add POOL_CONNLIMIT code to "No connections available." error
|
8 years ago |
Douglas Christopher Wilson
|
0b4518aaea
lint: add missing semicolons
|
9 years ago |
Sean Garner
|
f0dfda8a4c
Re-use connection from pool after conn.changeUser is used
|
9 years ago |
Douglas Christopher Wilson
|
c7f761bf62
Fix pool.query not emitting connection errors
|
10 years ago |
Douglas Christopher Wilson
|
76de66e2c3
Fix pool.getConnection race conditions
|
10 years ago |
Douglas Christopher Wilson
|
eb58eefad0
Fix pool.end race conditions
|
10 years ago |
Douglas Christopher Wilson
|
6413790cc1
Add enqueue event to pool
|
10 years ago |
Douglas Christopher Wilson
|
5f09c1c473
Add code POOL_ENQUEUELIMIT to error reaching queueLimit
|
10 years ago |
Douglas Christopher Wilson
|
b4379aea6a
Fix pool.query to use typeCast configuration
|
10 years ago |
Douglas Christopher Wilson
|
9f99156753
Fix pool.query not invoking callback on connection error
|
10 years ago |
Douglas Christopher Wilson
|
53a4d61234
Use acquireTimeout for connection handshake timeout
|
10 years ago |
Douglas Christopher Wilson
|
85a5174665
Add connection.escapeId and pool.escapeId helpers
|
10 years ago |
Douglas Christopher Wilson
|
945b92e15e
Add acquireTimeout pool option
|
10 years ago |
Douglas Christopher Wilson
|
2e6022f7c1
Return Query object from pool.query like conn.query
|
10 years ago |
Douglas Christopher Wilson
|
5e43c5c5be
Fix pool leaking connections after conn.changeUser
|
10 years ago |
Douglas Christopher Wilson
|
6515c90fb3
Throw on pool connection double-release
|
10 years ago |
Douglas Christopher Wilson
|
1bcf199e93
Remove connection from pool after conn.changeUser is released
|
10 years ago |
Douglas Christopher Wilson
|
ea9a27c32e
Clone connection config for new pool connections
|
10 years ago |
Douglas Christopher Wilson
|
5ea649d6d9
Ensure pool.getConnection retrieves good connections
|
10 years ago |
Douglas Christopher Wilson
|
1397f67b2b
Fix pool.releaseConnection to keep connection queue flowing
|
10 years ago |
Douglas Christopher Wilson
|
88964631fb
Fix pool.end to handle queued connections
|
10 years ago |
ian lyons
|
57f6cb81ba
lint: lined up requirements
|
10 years ago |