File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
lib/thin/protocol/messages Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ Common Changes
23
23
Thin Mode Changes
24
24
+++++++++++++++++
25
25
26
+ #) Fixed Bug to return proper error when invalid service name is
27
+ configured in listener.
28
+
26
29
#) Added support for an Oracle Database 23c feature that can improve the
27
30
performance of connection creation by reducing the number of round trips
28
31
required to create the second and subsequent connections to the same
Original file line number Diff line number Diff line change @@ -72,12 +72,14 @@ class ProtocolMessage extends Message {
72
72
const fdo = buf . readBytes ( fdoLen ) ;
73
73
const ix = 6 + fdo [ 5 ] + fdo [ 6 ] ;
74
74
buf . caps . nCharsetId = ( fdo [ ix + 3 ] << 8 ) + fdo [ ix + 4 ] ;
75
- this . serverCompileCaps = Buffer . from ( buf . readBytesWithLength ( ) ) ;
76
- if ( this . serverCompileCaps ) {
75
+ const serverCompileCaps = buf . readBytesWithLength ( ) ;
76
+ if ( serverCompileCaps ) {
77
+ this . serverCompileCaps = Buffer . from ( serverCompileCaps ) ;
77
78
buf . caps . adjustForServerCompileCaps ( this . serverCompileCaps ) ;
78
79
}
79
- this . serverRunTimeCaps = Buffer . from ( buf . readBytesWithLength ( ) ) ;
80
- if ( this . serverRunTimeCaps ) {
80
+ const serverRunTimeCaps = buf . readBytesWithLength ( ) ;
81
+ if ( serverRunTimeCaps ) {
82
+ this . serverRunTimeCaps = Buffer . from ( serverRunTimeCaps ) ;
81
83
buf . caps . adjustForServerRuntimeCaps ( this . serverRunTimeCaps ) ;
82
84
}
83
85
}
You can’t perform that action at this time.
0 commit comments