aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-06-24 13:01:59 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-06-24 13:01:59 +0200
commit1a8871ac673335cd51cf8fd905312651706a389d (patch)
tree3e3bef9bbdc079d1891d63e8ecb2f4e2cfcd6522
parentba5cf1fd89ad7b7dbba90dd25acb5332cbe7cb7f (diff)
Use in_column_count to specify PostgreSQL object statements param count
-rw-r--r--odb/pgsql/object-statements.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/pgsql/object-statements.hxx b/odb/pgsql/object-statements.hxx
index 0d2607b..ff86bcf 100644
--- a/odb/pgsql/object-statements.hxx
+++ b/odb/pgsql/object-statements.hxx
@@ -255,7 +255,7 @@ namespace odb
object_traits::persist_statement_name,
object_traits::persist_statement,
object_traits::persist_statement_types,
- object_traits::persist_statement_count,
+ object_traits::in_column_count,
in_image_binding_,
in_image_native_binding_));
}
@@ -274,7 +274,7 @@ namespace odb
object_traits::find_statement_name,
object_traits::find_statement,
object_traits::find_statement_types,
- object_traits::find_statement_count,
+ 1,
id_image_binding_,
id_image_native_binding_,
out_image_binding_));
@@ -294,7 +294,7 @@ namespace odb
object_traits::update_statement_name,
object_traits::update_statement,
object_traits::update_statement_types,
- object_traits::update_statement_count,
+ object_traits::in_column_count + 1,
id_image_binding_,
id_image_native_binding_,
in_image_binding_,
@@ -315,7 +315,7 @@ namespace odb
object_traits::erase_statement_name,
object_traits::erase_statement,
object_traits::erase_statement_types,
- object_traits::erase_statment_count,
+ 1,
id_image_binding_,
id_image_native_binding_));
}