From a9a572ba7b152b9bfae56bcbf8717e05c8242e3f Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 20 Oct 2011 10:09:36 +0200 Subject: Correct bind offset error arising due to OCI using 1 based indices --- odb/oracle/statement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index e069d43..402b5ba 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -635,7 +635,7 @@ namespace odb sword r (OCIBindByPos (stmt_, &h, err, - data.count, + data.count + 1, 0, #if (OCI_MAJOR_VERSION == 11 && OCI_MINOR_VERSION >=2) \ || OCI_MAJOR_VERSION > 11 -- cgit v1.1