Temporarily disable lobPrefetchSize

This commit is contained in:
Christopher Jones 2015-09-03 19:42:25 +10:00
parent 6fcc4d436a
commit ded6b22d2a
3 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Change Log
## node-oracledb v1.1.0 (DD Mon YYYY )
## node-oracledb v1.1.0 (3 Sep 2015)
- Enhanced pool.release() to drop the session if it is known to be unusable, allowing a new session to be created.
@ -18,6 +18,8 @@
- Added a check to throw an error sooner when a CURSOR type is used for IN or IN OUT binds. (Support is pending).
- Temporarily disabling setting lobPrefetchSize
## node-oracledb v1.0.0 (17 Aug 2015)
- Implemented Stream interface for CLOB and BLOB types, adding support for

View File

@ -478,6 +478,8 @@ oracledb.maxRows = 100;
Number lobPrefetchSize
```
This attribute is temporarily disabled. Setting it has no effect.
Node-oracledb internally uses Oracle *LOB Locators* to manipulate long
object (LOB) data. LOB Prefetching allows LOB data to be returned
early to node-oracledb when these locators are first returned.

View File

@ -301,8 +301,11 @@ unsigned int ConnImpl::stmtCacheSize() const
void ConnImpl::lobPrefetchSize(unsigned int lobPrefetchSize)
{
// Temporarily disable this attribute.
#if 0
ociCall(OCIAttrSet(sessh_, OCI_HTYPE_SESSION, &lobPrefetchSize, 0,
OCI_ATTR_DEFAULT_LOBPREFETCH_SIZE, errh_), errh_);
#endif
}