Skip to content

Commit 9296ddc

Browse files
committed
Allow node-oracledb Thin mode to use DRCP Purity settings
1 parent 71c1188 commit 9296ddc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

doc/src/release_notes.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ Thin Mode Changes
2020
#) Improve error message when an internal error handler fails and a connection
2121
is no longer usable.
2222

23-
#) Fixed bug where NJS-112 is thrown intermittently with some connections.
23+
#) Fixed bug where NJS-112 is thrown intermittently with some connections.
24+
25+
#) Fixed bug where DRCP connections from pool result in NUM_MISSES values to
26+
increase instead of NUM_HITS in v$cpool_stats view by default. This fix
27+
optimizes the use of DRCP connections.
2428

2529
node-oracledb `v6.0.2 <https://github.com/oracle/node-oracledb/compare/v6.0.1...v6.0.2>`__ (27 Jun 2023)
2630
--------------------------------------------------------------------------------------------------------

lib/thin/protocol/constants.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ module.exports = {
4141
constants.VERSION_MINOR << 20 |
4242
constants.VERSION_PATCH << 12,
4343
DRIVER_NAME: constants.DEFAULT_DRIVER_NAME + ' thn',
44+
PURITY_DEFAULT: constants.PURITY_DEFAULT,
45+
PURITY_NEW: constants.PURITY_NEW,
46+
PURITY_SELF: constants.PURITY_SELF,
4447
SYSASM: constants.SYSASM,
4548
SYSBKP: constants.SYSBKP,
4649
SYSDBA: constants.SYSDBA,

0 commit comments

Comments
 (0)