aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/query.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/query.hxx')
-rw-r--r--odb/pgsql/query.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/pgsql/query.hxx b/odb/pgsql/query.hxx
index b940261..42182d6 100644
--- a/odb/pgsql/query.hxx
+++ b/odb/pgsql/query.hxx
@@ -1671,7 +1671,7 @@ namespace odb
bind (bind_type* b)
{
b->type = bind::numeric;
- b->buffer = buffer_.data ();
+ b->buffer = buffer_.data_ptr ();
b->capacity = buffer_.capacity ();
b->size = &size_;
}
@@ -1836,7 +1836,7 @@ namespace odb
bind (bind_type* b)
{
b->type = bind::text;
- b->buffer = buffer_.data ();
+ b->buffer = buffer_.data_ptr ();
b->capacity = buffer_.capacity ();
b->size = &size_;
}
@@ -1881,7 +1881,7 @@ namespace odb
bind (bind_type* b)
{
b->type = bind::bytea;
- b->buffer = buffer_.data ();
+ b->buffer = buffer_.data_ptr ();
b->capacity = buffer_.capacity ();
b->size = &size_;
}
@@ -1926,7 +1926,7 @@ namespace odb
bind (bind_type* b)
{
b->type = bind::bit;
- b->buffer = buffer_.data ();
+ b->buffer = buffer_.data_ptr ();
b->capacity = buffer_.capacity ();
b->size = &size_;
}
@@ -1970,7 +1970,7 @@ namespace odb
bind (bind_type* b)
{
b->type = bind::varbit;
- b->buffer = buffer_.data ();
+ b->buffer = buffer_.data_ptr ();
b->capacity = buffer_.capacity ();
b->size = &size_;
}