Relax Error to warning for oracleClientVersion() and oracleClientVersionString() in Thick mode as a fix for Issue #1582

This commit is contained in:
Sharad Chandran R 2023-08-17 16:51:55 +05:30
parent 985e65c332
commit 93f73542db
2 changed files with 7 additions and 6 deletions

View File

@ -48,6 +48,9 @@ Thin Mode Changes
#) Fixed bug in DN matching when remote and local listener use the same certificate.
#) Fixed bug in getting oracleClientVersion() and oracleClientVersionString().
`Issue #1582 <https://github.com/oracle/node-oracledb/issues/1582>`__.
node-oracledb `v6.0.3 <https://github.com/oracle/node-oracledb/compare/v6.0.2...v6.0.3>`__ (12 Jul 2023)
--------------------------------------------------------------------------------------------------------

View File

@ -1062,17 +1062,15 @@ module.exports = {
},
get oracleClientVersion() {
if (_initOracleClientArgs === undefined) {
errors.throwNotImplemented("getting the Oracle Client version");
}
if (_initOracleClientArgs !== undefined) {
return settings.oracleClientVersion;
}
},
get oracleClientVersionString() {
if (_initOracleClientArgs === undefined) {
errors.throwNotImplemented("getting the Oracle Client version");
}
if (_initOracleClientArgs !== undefined) {
return settings.oracleClientVersionString;
}
},
get outFormat() {