aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-01 15:39:27 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-01 15:51:50 +0200
commit7a3d6b82f56eb68844225b5c09a402fc39dea47b (patch)
tree07044d77c9323fdc25cfed35deb9200ac7c43c8b /odb/oracle/statement.cxx
parentb8d34e12074a62d65575f22c0386d17db0e1a0b1 (diff)
Do not reset the lob prefetch buffer size while rebinding result parameters
Diffstat (limited to 'odb/oracle/statement.cxx')
-rw-r--r--odb/oracle/statement.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index 85200ac..36d9c15 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -417,29 +417,6 @@ namespace odb
if (r == OCI_ERROR || r == OCI_INVALID_HANDLE)
translate_error (err, r);
-
- // LOB prefetching is only supported in OCI version 11.1 and greater
- // and in Oracle server 11.1 and greater. If this code is called
- // against a pre 11.1 server, the call to OCIAttrSet will return an
- // error code.
- //
-#if (OCI_MAJOR_VERSION == 11 && OCI_MINOR_VERSION >= 1) \
- || OCI_MAJOR_VERSION > 11
- if (p != 0)
- {
- ub4 n (static_cast<ub4> (p));
-
- r = OCIAttrSet (h,
- OCI_HTYPE_DEFINE,
- &n,
- 0,
- OCI_ATTR_LOBPREFETCH_SIZE,
- err);
-
- if (r == OCI_ERROR || r == OCI_INVALID_HANDLE)
- translate_error (err, r);
- }
-#endif
}
}