Skip to content

Commit ded6b22

Browse files
committed
Temporarily disable lobPrefetchSize
1 parent 6fcc4d4 commit ded6b22

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## node-oracledb v1.1.0 (DD Mon YYYY )
3+
## node-oracledb v1.1.0 (3 Sep 2015)
44

55
- Enhanced pool.release() to drop the session if it is known to be unusable, allowing a new session to be created.
66

@@ -18,6 +18,8 @@
1818

1919
- Added a check to throw an error sooner when a CURSOR type is used for IN or IN OUT binds. (Support is pending).
2020

21+
- Temporarily disabling setting lobPrefetchSize
22+
2123
## node-oracledb v1.0.0 (17 Aug 2015)
2224

2325
- Implemented Stream interface for CLOB and BLOB types, adding support for

doc/api.md

+2
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ oracledb.maxRows = 100;
478478
Number lobPrefetchSize
479479
```
480480

481+
This attribute is temporarily disabled. Setting it has no effect.
482+
481483
Node-oracledb internally uses Oracle *LOB Locators* to manipulate long
482484
object (LOB) data. LOB Prefetching allows LOB data to be returned
483485
early to node-oracledb when these locators are first returned.

src/dpi/src/dpiConnImpl.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,11 @@ unsigned int ConnImpl::stmtCacheSize() const
301301

302302
void ConnImpl::lobPrefetchSize(unsigned int lobPrefetchSize)
303303
{
304+
// Temporarily disable this attribute.
305+
#if 0
304306
ociCall(OCIAttrSet(sessh_, OCI_HTYPE_SESSION, &lobPrefetchSize, 0,
305307
OCI_ATTR_DEFAULT_LOBPREFETCH_SIZE, errh_), errh_);
308+
#endif
306309
}
307310

308311

0 commit comments

Comments
 (0)