aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/object-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-30 17:52:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-01 14:29:56 +0200
commit62d4405faf1060e447dc06fbda6789ff36bdbe36 (patch)
tree5d92b75b5440c8035236e5f963fbff9c4fe1532e /odb/oracle/object-statements.txx
parente0ab16f484d0b39e3760a063b3416cbd74a26c5e (diff)
Rework statement interfaces wrt param/result passing
Diffstat (limited to 'odb/oracle/object-statements.txx')
-rw-r--r--odb/oracle/object-statements.txx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/oracle/object-statements.txx b/odb/oracle/object-statements.txx
index 212c03c..c187c07 100644
--- a/odb/oracle/object-statements.txx
+++ b/odb/oracle/object-statements.txx
@@ -33,7 +33,8 @@ namespace odb
container_statement_cache_ (conn),
select_image_binding_ (select_image_bind_, select_column_count),
insert_image_binding_ (insert_image_bind_, insert_column_count),
- update_image_binding_ (update_image_bind_, update_column_count),
+ update_image_binding_ (update_image_bind_,
+ update_column_count + id_column_count),
id_image_binding_ (update_image_bind_ + update_column_count,
id_column_count)
{
@@ -41,6 +42,7 @@ namespace odb
select_image_version_ = 0;
insert_image_version_ = 0;
update_image_version_ = 0;
+ update_id_image_version_ = 0;
id_image_.version = 0;
id_image_version_ = 0;