aboutsummaryrefslogtreecommitdiff
path: root/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:31:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:31:40 +0200
commit2f0038a2aed44ce04200c09229921ae21861ccaa (patch)
treeb266fe7d0f9c9bd23503779006f67cc9d3529a2c /mysql
parent585260e6131d103fe75111402b1018a2a23e0a8e (diff)
Get rid of image type argument in value_traits
Diffstat (limited to 'mysql')
-rw-r--r--mysql/types/traits.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql/types/traits.hxx b/mysql/types/traits.hxx
index b05b2c4..2698afc 100644
--- a/mysql/types/traits.hxx
+++ b/mysql/types/traits.hxx
@@ -17,7 +17,7 @@ namespace odb
namespace mysql
{
template <database_type_id ID>
- class value_traits<date_time, MYSQL_TIME, ID>
+ class value_traits<date_time, ID>
{
public:
typedef date_time value_type;
@@ -57,7 +57,7 @@ namespace odb
};
template <>
- class value_traits<buffer, details::buffer, id_blob>
+ class value_traits<buffer, id_blob>
{
public:
typedef buffer value_type;
@@ -94,7 +94,7 @@ namespace odb
};
template <>
- class value_traits<bitfield, unsigned char*, id_bit>
+ class value_traits<bitfield, id_bit>
{
public:
typedef bitfield value_type;
@@ -132,7 +132,7 @@ namespace odb
};
template <>
- class value_traits<set, details::buffer, id_set>
+ class value_traits<set, id_set>
{
public:
typedef set value_type;
@@ -194,7 +194,7 @@ namespace odb
};
template <>
- class value_traits<string_ptr, details::buffer, id_string>
+ class value_traits<string_ptr, id_string>
{
public:
typedef string_ptr value_type;