Skip to content

Commit

Permalink
Temporarily disable lobPrefetchSize
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed Sep 3, 2015
1 parent 6fcc4d4 commit ded6b22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions src/dpi/src/dpiConnImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down

0 comments on commit ded6b22

Please sign in to comment.