diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-28 09:45:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-28 09:45:36 +0200 |
commit | ab1487672afb5180bd17c9d26b35196bd06f6cda (patch) | |
tree | 51cc25e1b88cb0abc325a822f57845a98a22cb8a /mysql/types/test.hxx | |
parent | a461f6d8bc6c314249057ad48fa8dd1cea1d8b40 (diff) |
Add value_traits specializations for std::vector<char>
This allows using it as a buffer for BLOB mapping.
Diffstat (limited to 'mysql/types/test.hxx')
-rw-r--r-- | mysql/types/test.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql/types/test.hxx b/mysql/types/test.hxx index 209782e..1f6b771 100644 --- a/mysql/types/test.hxx +++ b/mysql/types/test.hxx @@ -8,11 +8,12 @@ #include <set> #include <string> +#include <vector> #include <memory> // std::auto_ptr #include <odb/core.hxx> -#include <common/buffer.hxx> +typedef std::vector<char> buffer; struct date_time { |