File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,8 @@ const ERR_INVALID_SID = 519;
161
161
const ERR_TNS_NAMES_FILE_MISSING = 520 ;
162
162
const ERR_CONNECTION_EOF = 521 ;
163
163
164
- // define mapping for ODPI-C errors that need to be wrapped with NJS errors
164
+ // define mapping for ODPI-C, OCI & ORA errors that need to be wrapped
165
+ // with NJS errors
165
166
const adjustErrorXref = new Map ( ) ;
166
167
adjustErrorXref . set ( "DPI-1010" , ERR_CONNECTION_CLOSED ) ;
167
168
adjustErrorXref . set ( "DPI-1024" , [ ERR_INVALID_COLL_INDEX_GET , 'at index ([0-9]+) does' ] ) ;
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class Settings {
69
69
// database are returned as though they used the JavaScript time zone
70
70
// setting. TIMESTAMP WITH TIME ZONE and TIMESTAMP WITH LOCAL TIME ZONE data
71
71
// are returned in native JavaScript format (since they contain time zone
72
- // information).
72
+ // information). This is used only in Thick mode (from node-oracledb 6.0.0).
73
73
//---------------------------------------------------------------------------
74
74
_getDateComponents ( useLocal , date ) {
75
75
if ( useLocal ) {
You can’t perform that action at this time.
0 commit comments