aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-08 08:35:47 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-08 08:35:47 +0200
commita3eb3fedc5478b28a813b689daca88fc2ac6e50a (patch)
treee0c6c4632d3422ad41222f783074be044db24fab /odb/oracle/statement.hxx
parent7823ebdaa6cc9772d1410e6e398ba36501a55f62 (diff)
Add bind array offset argument to statement::bind_param
This allows for specification of non-contiguous bind arrays in multiple calls to bind_param for the same statement.
Diffstat (limited to 'odb/oracle/statement.hxx')
-rw-r--r--odb/oracle/statement.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/oracle/statement.hxx b/odb/oracle/statement.hxx
index d59f3a6..cbdb2ce 100644
--- a/odb/oracle/statement.hxx
+++ b/odb/oracle/statement.hxx
@@ -41,7 +41,7 @@ namespace odb
// due to lost OCIBind resources.
//
void
- bind_param (bind*, std::size_t count);
+ bind_param (bind*, std::size_t count, std::size_t offset);
// Bind input parameters to this statement. This function must
// only be called once. Multiple calls to it will result in memory leaks
@@ -143,8 +143,6 @@ namespace odb
virtual
~update_statement ();
- // Asssumes that cond.bind is a suffix of data.bind.
- //
update_statement (connection& conn,
const std::string& statement,
binding& cond,