oracle / node-oracledb

Oracle Database driver for Node.js maintained by Oracle Corp.
http://oracle.github.io/node-oracledb/
Other
2.25k stars 1.07k forks source link

deqOne() and deqMany() returns a msg when the queue is empty on v6.4.0 #1656

Closed cedmetal closed 5 months ago

cedmetal commented 6 months ago
  1. What versions are you using? oracledb@6.4.0 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Oracle Instant Client 19_22 process:  platform: win32  node_version : 20.10.0  arch: x64
  1. Is it an error or a hang or a crash? error

  2. What error(s) or behavior you are seeing? On calling deq() or deqMany(1) on an empty queue, the function now returns a msg (on 6.3.0 and according to the documentation, it should return undefined) Then, on calling payload.toString() on the msg, the process returns the following error :   DPI-1002: invalid dpiMsgProps handle