Skip to content

Commit 6579caf

Browse files
committed
Fix for Issues #1565 and #1566 - Bug with fetching duplicated data that spans multiple network packets
1 parent 7ee8f80 commit 6579caf

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

doc/src/release_notes.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
node-oracledb Release Notes
66
=============================
77

8+
node-oracledb `v6.0.2 <https://github.com/oracle/node-oracledb/compare/v6.0.1...v6.0.2>`__ (TBD)
9+
------------------------------------------------------------------------------------------------
10+
11+
Thin Mode Changes
12+
+++++++++++++++++
13+
14+
#) Fixed bug when fetching rows containing data duplicated from a previous
15+
row that spans multiple packets.
16+
`Issue #1566 <https://github.com/oracle/node-oracledb/issues/1566>`__ and
17+
`Issue #1565 <https://github.com/oracle/node-oracledb/issues/1565>`__.
18+
19+
820
node-oracledb `v6.0.1 <https://github.com/oracle/node-oracledb/compare/v6.0.0...v6.0.1>`__ (07 Jun 2023)
921
--------------------------------------------------------------------------------------------------------
1022

lib/thin/protocol/messages/withData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class MessageWithData extends Message {
582582
}
583583

584584
getBitVector(buf, numBytes) {
585-
this.bitVector = buf.readBytes(numBytes);
585+
this.bitVector = Buffer.from(buf.readBytes(numBytes));
586586
}
587587

588588
processBindParams(buf, params) {

0 commit comments

Comments
 (0)