From 4e540775abb7afa27f299b29943d9182fae445e7 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Wed, 22 Sep 2010 18:40:58 +0200
Subject: Add database type id as value_traits template argument

---
 common/query/traits.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'common/query')

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;
-- 
cgit v1.1