File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
lib/thin/protocol/messages Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ node-oracledb `v6.4.0 <https://github.com/oracle/node-oracledb/compare/v6.3.0...
13
13
Common Changes
14
14
++++++++++++++
15
15
16
+ #) Connections to standby database opened `MOUNTED ` return
17
+ `NAN <https://github.com/nodejs/nan> ` for :meth: `~connection.maxOpenCursors `
18
+ Fixed to return 0.
19
+
16
20
#) Added :meth: `~dbObject.toMap ` method to :ref: `DbObject Class<dbobjectclass> `
17
21
which returns a map object.
18
22
See `Issue #1627 <https://github.com/oracle/node-oracledb/issues/1627 >`__.
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ class AuthMessage extends Message {
322
322
323
323
this . conn . dbDomain = this . sessionData [ 'AUTH_SC_DB_DOMAIN' ] ;
324
324
this . conn . dbName = this . sessionData [ 'AUTH_SC_DBUNIQUE_NAME' ] ;
325
- this . conn . maxOpenCursors = Number ( this . sessionData [ 'AUTH_MAX_OPEN_CURSORS' ] ) ;
325
+ this . conn . maxOpenCursors = Number ( this . sessionData [ 'AUTH_MAX_OPEN_CURSORS' ] || 0 ) ;
326
326
this . conn . serviceName = this . sessionData [ 'AUTH_SC_SERVICE_NAME' ] ;
327
327
this . conn . instanceName = this . sessionData [ 'AUTH_INSTANCENAME' ] ;
328
328
const fullVersionNum = Number ( this . sessionData [ 'AUTH_VERSION_NO' ] ) ;
You can’t perform that action at this time.
0 commit comments