File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ Common Changes
16
16
Thin Mode Changes
17
17
+++++++++++++++++
18
18
19
+ #) Fixed bug that did not allow connection to Oracle Database 23ai instances
20
+ that have fast authentication disabled.
21
+
19
22
#) Fixed bug with statement cache which threw an `NJS-111 ` error when select
20
23
SQL is run on CLOB columns fetched as string.
21
24
See `Issue #1684 <https://github.com/oracle/node-oracledb/issues/
Original file line number Diff line number Diff line change @@ -797,8 +797,14 @@ class ThinConnectionImpl extends ConnectionImpl {
797
797
await this . _protocol . _processMessage ( authMessage ) ;
798
798
}
799
799
} else {
800
+ // When Fast Auth is explicitly disabled on servers > 23ai,
801
+ // we dont rely on message type TNS_MSG_TYPE_END_OF_REQUEST too
802
+ // for protocolMessage and dataTypeMessage.
803
+ const endOfRequestSupport = this . nscon . endOfRequestSupport ;
804
+ this . nscon . endOfRequestSupport = false ;
800
805
await this . _protocol . _processMessage ( protocolMessage ) ;
801
806
await this . _protocol . _processMessage ( dataTypeMessage ) ;
807
+ this . nscon . endOfRequestSupport = endOfRequestSupport ;
802
808
await this . _protocol . _processMessage ( authMessage ) ;
803
809
}
804
810
if ( ! params . token ) { // non-token Authentication
You can’t perform that action at this time.
0 commit comments