aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-20 10:09:36 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-20 10:09:36 +0200
commita9a572ba7b152b9bfae56bcbf8717e05c8242e3f (patch)
tree20663515cbdb0b1a9bb14ba1d2f391045f2ac24a
parent04c8011390f5ae406cd0357559ab0b1c6e079e8a (diff)
Correct bind offset error arising due to OCI using 1 based indices
-rw-r--r--odb/oracle/statement.cxx2
1 files changed, 1 insertions, 1 deletions
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