Skip to content

Commit 2335ae8

Browse files
committed
Fixed an issue with getNetworkServiceNames() that caused some runs with certain frameworks to fail (Issue #1706)
1 parent 38bfba5 commit 2335ae8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

doc/src/release_notes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ node-oracledb Release Notes
88
For deprecated and desupported features, see
99
:ref:`Deprecations and desupported features <deprecations>`.
1010

11+
node-oracledb `v6.7.1 <https://github.com/oracle/node-oracledb/compare/v6.7.0...v6.7.1>`__ (TBD)
12+
---------------------------------------------------------------------------------------------------------
13+
14+
Thin Mode Changes
15+
+++++++++++++++++
16+
17+
#) Fixed bug that may cause runtime issues in some JavaScript frameworks.
18+
See `Issue #1706 <https://github.com/oracle/node-oracledb/issues/1706>`__.
19+
20+
1121
node-oracledb `v6.7.0 <https://github.com/oracle/node-oracledb/compare/v6.6.0...v6.7.0>`__ (18 Nov 2024)
1222
---------------------------------------------------------------------------------------------------------
1323

lib/oracledb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ async function createPool(options) {
665665
// If a tnsnames.ora file does not exist, then an exception is raised
666666
//-----------------------------------------------------------------------------
667667
async function getNetworkServiceNames(configDir) {
668-
const { NLParamParser, tnsnamesFilePath } = require('thin/sqlnet/paramParser.js');
668+
const { NLParamParser, tnsnamesFilePath } = require('./thin/sqlnet/paramParser.js');
669669
const nlParamParser = new NLParamParser;
670670
const filePath = tnsnamesFilePath(configDir);
671671
const aliasht = await nlParamParser.initializeNlpa(filePath);

0 commit comments

Comments
 (0)