Prepare for 6.5 development

This commit is contained in:
Sharad Chandran R 2024-03-12 12:55:25 +05:30
parent 97b7a1f99d
commit afb9f696ca
4 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,12 @@
# node-oracledb version 6.4.0
# node-oracledb version 6.5.0-dev
**This release is under development and information may be incomplete**
The node-oracledb add-on for Node.js powers high performance Oracle Database
applications. Applications can be written in TypeScript, or directly in
JavaScript.
Use node-oracledb 6.4.0 to connect Node.js 14.6, or later, to Oracle
Use node-oracledb 6.5.0-dev to connect Node.js 14.6, or later, to Oracle
Database. Older versions of node-oracledb may work with older versions of
Node.js.

View File

@ -30,7 +30,7 @@
module.exports = {
VERSION_MAJOR: 6,
VERSION_MINOR: 4,
VERSION_MINOR: 5,
VERSION_PATCH: 0,
VERSION_SUFFIX: ''
VERSION_SUFFIX: '-dev'
};

View File

@ -1,6 +1,6 @@
{
"name": "oracledb",
"version": "6.4.0",
"version": "6.5.0-dev",
"description": "A Node.js module for Oracle Database access from JavaScript and TypeScript",
"license": "(Apache-2.0 OR UPL-1.0)",
"homepage": "http://oracle.github.io/node-oracledb/",

View File

@ -223,8 +223,8 @@ static bool njsLob_getDataAsync(njsBaton *baton)
return njsBaton_setErrorDPI(baton);
lob->dirtyLength = false;
}
len = lob->length;
if ((baton->lobAmount == 0) || (baton->lobAmount >= lob->length)) {
len = baton->lobAmount;
if ((len == 0) || (len >= lob->length)) {
// If user has not given lobAmount or user gave greater than
// lob length, adjust the len value.
if (lob->length >= baton->lobOffset) {
@ -232,8 +232,6 @@ static bool njsLob_getDataAsync(njsBaton *baton)
} else {
len = 1;
}
} else {
len = baton->lobAmount;
}
// determine size of buffer that is required