aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-07 15:41:25 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-08 14:46:33 +0200
commitc5472303e05fa06e902c62b58167effd2f321b23 (patch)
treeb8ee2bb3f76fc91bab803d24236c94144619d4c7
parent655fc5c0827d56b6eaa86f80c904d9a607530fcb (diff)
Pass LOB capacity using bind::capacity member instead of deriving at run-time
-rw-r--r--odb/oracle/statement.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index efbaf72..7c16ab2 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -287,9 +287,7 @@ namespace odb
err,
i,
value,
- callback
- ? std::numeric_limits<sb4>::max ()
- : static_cast<sb4> (b->capacity),
+ static_cast<sb4> (b->capacity),
param_sqlt_lookup[b->type],
b->indicator,
b->size,