File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,15 @@ Thin Mode Changes
31
31
in embedded quotes and in JSON syntax.
32
32
`Issue #1605 <https://github.com/oracle/node-oracledb/issues/1605 >`__.
33
33
34
- #) Corrected bug that caused cursors to be leaked when calling
35
- Connection .getStatementInfo().
34
+ #) Fixed bug that caused cursors to be leaked when calling
35
+ :meth: ` connection .getStatementInfo()` .
36
36
37
37
#) Fixed bug that caused an exception to be thrown unnecessarily when a connection was closed.
38
38
`Issue #1604 <https://github.com/oracle/node-oracledb/issues/1604 >`__.
39
39
40
+ #) Fixed bug that prevented getting the value of a RAW attribute on a DbObject
41
+ which is null.
42
+
40
43
Thick Mode Changes
41
44
++++++++++++++++++
42
45
Original file line number Diff line number Diff line change @@ -367,7 +367,10 @@ class ThinDbObjectImpl extends DbObjectImpl {
367
367
case types . DB_TYPE_NCHAR :
368
368
return buf . readStr ( constants . CSFRM_NCHAR ) ;
369
369
case types . DB_TYPE_RAW :
370
- return Buffer . from ( buf . readBytesWithLength ( ) ) ;
370
+ value = buf . readBytesWithLength ( ) ;
371
+ if ( value !== null )
372
+ value = Buffer . from ( value ) ;
373
+ return value ;
371
374
case types . DB_TYPE_BINARY_DOUBLE :
372
375
return buf . readBinaryDouble ( ) ;
373
376
case types . DB_TYPE_BINARY_FLOAT :
You can’t perform that action at this time.
0 commit comments