diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-20 10:09:36 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-20 10:09:36 +0200 |
commit | a9a572ba7b152b9bfae56bcbf8717e05c8242e3f (patch) | |
tree | 20663515cbdb0b1a9bb14ba1d2f391045f2ac24a | |
parent | 04c8011390f5ae406cd0357559ab0b1c6e079e8a (diff) |
Correct bind offset error arising due to OCI using 1 based indices
-rw-r--r-- | odb/oracle/statement.cxx | 2 |
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 |