aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-22 18:40:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-22 18:40:58 +0200
commit4e540775abb7afa27f299b29943d9182fae445e7 (patch)
tree060407e3c239042c069d2c72ce390e47630295d6 /common
parent26d4b0a333e327d7ef42c67db4c06918bafb1d84 (diff)
Add database type id as value_traits template argument
Diffstat (limited to 'common')
-rw-r--r--common/query/traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/query/traits.hxx b/common/query/traits.hxx
index 43b1bcc..45c1dc2 100644
--- a/common/query/traits.hxx
+++ b/common/query/traits.hxx
@@ -17,7 +17,7 @@ namespace odb
namespace mysql
{
template <>
- class value_traits<std::auto_ptr<std::string>, details::buffer>
+ class value_traits<std::auto_ptr<std::string>, details::buffer, id_string>
{
public:
typedef std::auto_ptr<std::string> value_type;