diff options
Diffstat (limited to 'odb/oracle/query.hxx')
-rw-r--r-- | odb/oracle/query.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/query.hxx b/odb/oracle/query.hxx index c392704..a7bacbe 100644 --- a/odb/oracle/query.hxx +++ b/odb/oracle/query.hxx @@ -1191,7 +1191,7 @@ namespace odb virtual void bind (bind_type* b) { - b->type = bind_type::integer; + b->type = image_traits<T, id_int32>::buffer_type; b->buffer = &image_; b->capacity = sizeof (image_); b->size = 0; @@ -1227,7 +1227,7 @@ namespace odb virtual void bind (bind_type* b) { - b->type = bind_type::integer; + b->type = image_traits<T, id_int64>::buffer_type; b->buffer = &image_; b->capacity = sizeof (image_); b->size = 0; |