From 7c8575dc312511623889119acbd105bbf4deb35b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Sep 2011 11:03:40 +0200 Subject: Add const char[n] value_traits specialization in addition to char[n] --- odb/sqlite/traits.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/odb/sqlite/traits.hxx b/odb/sqlite/traits.hxx index e712aa7..c93c2c6 100644 --- a/odb/sqlite/traits.hxx +++ b/odb/sqlite/traits.hxx @@ -260,6 +260,11 @@ namespace odb { }; + template + struct default_value_traits: c_string_value_traits + { + }; + // std::vector (buffer) specialization. // template <> @@ -402,6 +407,12 @@ namespace odb { static const database_type_id db_type_id = id_text; }; + + template + struct default_type_traits + { + static const database_type_id db_type_id = id_text; + }; } } -- cgit v1.1