From ab1487672afb5180bd17c9d26b35196bd06f6cda Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Jul 2011 09:45:36 +0200 Subject: Add value_traits specializations for std::vector This allows using it as a buffer for BLOB mapping. --- mysql/types/test.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mysql/types/test.hxx') 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 #include +#include #include // std::auto_ptr #include -#include +typedef std::vector buffer; struct date_time { -- cgit v1.1