From c5472303e05fa06e902c62b58167effd2f321b23 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 7 Nov 2011 15:41:25 +0200 Subject: Pass LOB capacity using bind::capacity member instead of deriving at run-time --- odb/oracle/statement.cxx | 4 +--- 1 file changed, 1 insertion(+), 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::max () - : static_cast (b->capacity), + static_cast (b->capacity), param_sqlt_lookup[b->type], b->indicator, b->size, -- cgit v1.1